delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/19/05:22:09

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
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: <XQgGgLAcFFqzEwWV@talula.demon.co.uk>
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019