From: Alistair Bain Newsgroups: comp.os.msdos.djgpp Subject: Sound problem - Allegro, etc... Date: Sun, 19 Oct 1997 21:33:21 +0100 Sender: Alistair Bain Distribution: world Message-ID: NNTP-Posting-Host: pulsedesign.demon.co.uk MIME-Version: 1.0 Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk OK, imagine this scenario... You've just finished writing a nice pixel scrolling routine, you have a large number of sprites bouncing around on top of it and now all you need to do is to add some sound effects. Easy huh? - Not really... I'm programming modex and have the routine running at 60fps no problem. As soon as I initialise the sound I start getting jerks in the motion, if I cut the number of sprites down to, say, 1 then I still get the same problem, what's going on?!! I am using Allegro (thanks Mr H.) for the graphics and sound, but have also tried the MIDAS library & SBDJ_05 (something like that) for sound. With both I still get jerks. If I actually play a sample the problem increases X-fold. Can anyone please help, I'm getting desperate! PS I'm using all the optimisation options. PPS I want my A1200 back...(but with more MIPS!!!) Remove the NOSPAM... to reply. -- Alistair Bain AHBain AT NOSPAMPLEASEWEREBRITISH DOT pulsedesign DOT demon DOT co DOT uk