Re: [Jack-Devel] Playing multiple sounds at the same time
On Fri, Feb 24, 2012 at 12:24:47PM +0400, Stéphane VAXELAIRE wrote:
> I'm quite new to Jack and enjoy developing with it as far as I went.
> I have a design question about playing 2 sound sources (ie 2 sound files or sound file + audio input capture) at the same time.
> Should I create 2 jack clients or mux the 2 sounds in the processData callback ?
>
> What is the best practice on this ?
There is no best practice for this, you simply have the choice.
For audio quality etc. it makes no difference. Do whatever is the
most practical solution for you. If you just want to play two audio
files, you can even start the same player twice.
Ciao,
--
FA
Vor uns liegt ein weites Tal, die Sonne scheint - ein Glitzerstrahl.
1330082666.14512_0.ltw:2,a <20120224112359.GA21610 at linuxaudio dot org>