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 > >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 > >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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel