Multiple PCM files
New to this sound thing most of the stuff we have done is graphical what is the formula for mixing n streams is it as simple as (stream 1 / number streams) + ( stream 2 / number of streams ) ..... + (stream n / number of streams ). What about different sample rates, stereo and mono. Any sample code around?
Cheers
Nick
----- Original Message -----
From: "Paul Davis" <[email protected]>
To: "Nick French" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, July 30, 2002 2:18 PM
Subject: Re: [Alsa-devel] Multiple PCM files
Quoted 2 lines
Quoted 2 lines
So does JACKs allow two separate applications to stream PCM audio at the same time to the same device and if so will it then overlay them? If it
will
Quoted 11 lines
Quoted 1 line
why would two threads each registering with JACKs not work.
it might, but it would be very inefficient. every JACK connection requires a new thread in the client, and implies an IPC per client per
process()callback cycle.the code to mix down your own threads' output buffers is a few lines. why bother with anything else?
--p
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31