Linux Sound subsystem development
 help / color / mirror / Atom feed
* Playing Multiple Audio streams
@ 2000-03-03  0:36 Jeff McBride
  2000-03-03  6:16 ` Thomas Zimmerman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jeff McBride @ 2000-03-03  0:36 UTC (permalink / raw)
  To: linux-sound

Hello,


Are there any good ways to play several audio sources simultaneously? If
an application wants to be playing say, several wave files overtop of each
other, does it have to mix them itself and then play one stream. Or are
there other drives, or possibly a daemon of some kind to do it? 

And how about multiple applications that are unaware of each other playing
at the same time? 


Thanks for any help,

Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Playing Multiple Audio streams
  2000-03-03  0:36 Playing Multiple Audio streams Jeff McBride
@ 2000-03-03  6:16 ` Thomas Zimmerman
  2000-03-03 14:19 ` Eric Mitchell
  2000-03-15 20:36 ` lantz moore
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Zimmerman @ 2000-03-03  6:16 UTC (permalink / raw)
  To: linux-sound

Jeff McBride wrote:
> 
> Hello,
> 
> Are there any good ways to play several audio sources simultaneously? If
> an application wants to be playing say, several wave files overtop of each
> other, does it have to mix them itself and then play one stream. Or are
> there other drives, or possibly a daemon of some kind to do it?
> 
> And how about multiple applications that are unaware of each other playing
> at the same time?
> 
> Thanks for any help,
> 
> Jeff

EsounD deamon is what you are looking for. However, the apps need to
know to use ESD to play...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Playing Multiple Audio streams
  2000-03-03  0:36 Playing Multiple Audio streams Jeff McBride
  2000-03-03  6:16 ` Thomas Zimmerman
@ 2000-03-03 14:19 ` Eric Mitchell
  2000-03-15 20:36 ` lantz moore
  2 siblings, 0 replies; 4+ messages in thread
From: Eric Mitchell @ 2000-03-03 14:19 UTC (permalink / raw)
  To: linux-sound

Thomas Zimmerman wrote:
> 
> Jeff McBride wrote:
> >
> > Hello,
> >
> > Are there any good ways to play several audio sources simultaneously? If
> > an application wants to be playing say, several wave files overtop of each
> > other, does it have to mix them itself and then play one stream. Or are
> > there other drives, or possibly a daemon of some kind to do it?
> >
> > And how about multiple applications that are unaware of each other playing
> > at the same time?
> >
> > Thanks for any help,
> >
> > Jeff
> 
> EsounD deamon is what you are looking for. However, the apps need to
> know to use ESD to play...

Or, as long as the application doesn't memory map the 
sound card DMA buffers (like quake), you can run:

	esddsp program args

to reroute audio device calls to the esd server.  For example:

	esddsp realplay somefile.rm
	esddsp vmware winamp.exe somefile.mp3

-- ebm (ricdude at work)
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell         mailto:emitchell@altaira.com |
| tel: (301) 809 - 3534    Altair Aerospace Corporation |
| tel: (800) 7 - ALTAIR    4201 Northview Dr. Suite 410 |
| fax: (301) 805 - 8122    Bowie, MD  20716             |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
              ,___
          /"\  / o=\  /"""---==/
         /   \_/  \__/   ---==/ 
         |    //\   || /""TT""/ //\   || ||""\
         |   //  \  ||    ||   //  \  || ||__/
         |  //--=\ |L--/ ||  //--=\ || || "=,
          \      ---==/
           \____---==/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Playing Multiple Audio streams
  2000-03-03  0:36 Playing Multiple Audio streams Jeff McBride
  2000-03-03  6:16 ` Thomas Zimmerman
  2000-03-03 14:19 ` Eric Mitchell
@ 2000-03-15 20:36 ` lantz moore
  2 siblings, 0 replies; 4+ messages in thread
From: lantz moore @ 2000-03-15 20:36 UTC (permalink / raw)
  To: linux-sound

Jeff McBride <trep@trep.dhs.org> writes:

> Are there any good ways to play several audio sources simultaneously? If
> an application wants to be playing say, several wave files overtop of each
> other, does it have to mix them itself and then play one stream. Or are
> there other drives, or possibly a daemon of some kind to do it? 

rplay[1], nas[2], and ESounD[3] can all do this very well.

> And how about multiple applications that are unaware of each other playing
> at the same time? 

rplay and ESoundD both have ways of tricking an application into playing
audio via sound servers.  i know that both rplay and esd are under
development, however, i'm not sure about nas.

-l

[1] http://rplay.doit.org
[2] ftp://ftp.x.org/contrib/audio/nas/
[3] http://www.tux.org/~ricdude/EsounD.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-15 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-03  0:36 Playing Multiple Audio streams Jeff McBride
2000-03-03  6:16 ` Thomas Zimmerman
2000-03-03 14:19 ` Eric Mitchell
2000-03-15 20:36 ` lantz moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox