Re: [Jack-Devel] Playing multiple sounds at the same time

PrevNext  Index
DateMon, 27 Feb 2012 08:07:27 +0400
From Stéphane VAXELAIRE <[hidden] at free dot fr>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToFons Adriaensen Re: [Jack-Devel] Playing multiple sounds at the same time
Follow-UpPaul Davis Re: [Jack-Devel] Playing multiple sounds at the same time
Hello,

Thanks for your answer.
The easiest way would be for me to create 2 clients in my code but I might need multiplexing sources at some point.
Can someone point me to some tutorial or documentation on how to mux samples from different buffers to "merge" them on a single output ?

Regards


Le 24 févr. 2012 à 15:24, Fons Adriaensen a écrit :

> 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.
> 
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
PrevNext  Index

1330315667.14692_0.ltw:2,a <8622C209-B91C-4EE4-93E7-D26A022328A4 at free dot fr>