From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro sound bitstreams Date: Wed, 18 Jun 1997 22:21:32 +0100 Organization: None Distribution: world Message-ID: References: <5o74ss$65q$1 AT readme DOT ican DOT net> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andrew Ellem writes: >Is is possible to create a bitstream to the sound card? I'm trying to get a >MPEG Layer 3 player working, but it requires a streamed output to the sound >device. Is there anyway to get this to work, or will I have to resort to >filling out a SAMPLE and playing it? Allegro doesn't currently support this. It would be very easy to bodge into the SB driver (hack the mixing routines in sound.c, or mixer.c in the most recent WIP versions), but would be rather more tricky to do in a properly general way. In particular it would require careful thinking how this should work with the GUS driver, where sample data has to be DMA'd into the card before it can be played. If you want to do some work on this, have a go at coming up with a nice API for how you think such streams should be played, and I'll discuss it with Tero to see how it might fit in with his GUS code... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.