Re: [Jack-Devel] API versioning
In data venerdì 11 febbraio 2011 12:52:47, hai scritto:
> > Hi, now that the JackPortIsActive commit has been reverted, how do I know
> > if a client is able to playback and/or capture?
>
> What is the exact purpose of "knowing that a client is able to playback
> and/or capture"? What use case?
>
> Stéphane
I've built a daemon, responsible of keeping track of connections from audio
capture sources to audio playback devices. Basically, the daemon connects to
jack, activates the client, and keeps listening for port registrations - then
connects the ports to the relevant playback ports, as needed.
I also have the need to know it as soon as the ports have been registered - if
possible - because I have to answer very quickly to a connection request.
Therefore I need to know when the client is ready to get connected, and to
know it asap.. What could I do?
PS Another detail - you need to activate the client (using jack_activate() )
*before* you start registering ports, or can you do that before activation?
--
Valerio Pilo
Software Engineer
--
X O R O V O
A University of Cagliari spin-off company
Parco Tecnologico della Sardegna, Edificio 1
09010 - Pula, loc. Piscinamanna (CA) - Italy
--
skype: valerio.pilo
phone: 070 9243 2663
1297426629.1286_0.ltw:2,a <201102111316.55700.valerio.pilo at akhela dot com>