Re: Gvc constructor problem



2015-01-02 0:42 GMT+01:00 Giovanni Campagna <giocampagna92 gmail com>:
The correct way to obtain a Gvc.MixerControl is to construct it, connect to the notify::state signal (which will fire whenever the state property change), and inside the signal handler checking the state, performing any other initialization once the state switches to the connected. You cannot use a loop because a loop is a blocking control flow structure.

Hope this helps

Giovanni

hi, thanks this helped a lot, now connects to pulseaudio correctly, for who can serve here the right piece of code:
http://pastebin.com/Mh644z1R
thx. 8y3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]