[Alsaplayer-devel]Re: [Jackit-devel] DJ app
Paul Davis
pbd@Op.Net
Sun, 10 Feb 2002 22:53:50 -0500
>> I can easily code a menu box into the gui which allows
>> the user to choose the output but how do I get this to
>> actually work?
jack_disconnect()
jack_connect ()
Obviously it has to be instant and have
>> no dropouts or noise. Possible a better idea would be to
>> provide a fader and a switch. Then it would become a
>> complete cj mixing app.
it can't ever be "instant". whenever you change the connections
between clients, jackd has to recompute the execution order of the
clients. there is no way to guarantee that the time it takes to do
this will be small enough that you won't hear a click.
this is really no different than when making physical analog or
digital connections, though in each of those cases, the reason for the
click is rather different. its also why mixers exist - to smoothly
transition from one signal to another.
--p