[pulseaudio-discuss] pa_context_set_source_volume_by_index() failed
pfl at messofts.be
Fri Oct 28 15:20:34 UTC 2016
ah yes, I forgot the main loop
the problem is that the set volume part is only a small part of my program
so I'll have to put that lop in a thread
Le 28/10/2016 à 14:27, Tanu Kaskinen a écrit :
> On Thu, 2016-10-27 at 17:14 +0200, pfl wrote:
>> I checked the volume in the raspbian volume utility
>> also as I said if I restart my program, it is still the same vollume
>> values, not my values
>> how does it work then ?
>> how to I submit/commit my volume settings ?
> There's no separate submit step. You just have to let the mainloop run
> so that the "set volume" commands get sent. How are you running the
> mainloop? Do you use pa_mainloop_run()? Do you perhaps exit the program
> immediately after calling setOutputVolume()?
>> is there no wiki or anything explaining all these ?
> The asynchronous API is documented here:
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
More information about the pulseaudio-discuss