Xref: news2.mv.net comp.os.msdos.djgpp:8640 From: gt4558a AT acmey DOT gatech DOT edu (Rubicant) Newsgroups: comp.os.msdos.djgpp Subject: Re: allegro & play_sample() Date: 8 Sep 1996 06:35:27 GMT Organization: Georgia Institute of Technology Lines: 28 Message-ID: <50tpff$sn5@catapult.gatech.edu> References: <50l7j9$7tu AT frivolous DOT sanjose DOT vlsi DOT com> <322FC6DE DOT 7E50 AT stud DOT warande DOT ruu DOT nl> NNTP-Posting-Host: acmey-prism.gatech.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Elliott Oti (e DOT oti AT stud DOT warande DOT ruu DOT nl) wrote: : Yep, I do. The opening line of the demo comes out on my DX4 100 : with SBPro clone (Pro-Multimedia) as a high speed squeaky : "wlcm to allgro"; on my 386 DX33 (Trust SBPro clone) it sounds perfect, : and on a neighbour's 486 DX80 (true blue SB) it also sounds OK, but higher : pitched than on the DX33. I have the feeling the computer's CPU speed affects : the playback rate but I haven't made enough tests across enough : computers. Mikmod doesn't have the same problem, so equivalent routines : in MikAlleg should work OK. I don't think that the speed of the computer is the deciding factor. I think it is a problem with certain clone sound cards. I have a sound card that says it is 16-bit, but that only provides compatibility for Sound Blaster Pros; it's a Reveal Sound/FX Wave or some such card. All digital sound played with Allegro comes out too fast, both on a 486/33 and a Pentium/100. On a true SB16 the sound is fine. I think that the card acts as a 16-bit sound card with Windows sound system, although I've never tested it. Anyway, I don't know of a work around, but I do suspect that the fact that these cards are sort of 16-bit is the problem (of course, this is just a guess). I'm sure that there's some sort of additional check that could be added to Allegro to prevent this, but I'm not hardware savvy enough to say exactly what. Digital sound works fine with almost all other programs, too. The only program that I've found that gives me the same kind of double speed digital sound is Wolfenstien 3d. -- -- Rubicant --