pa_context_set_source_volume_by_index() failed

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

 



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:
https://freedesktop.org/software/pulseaudio/doxygen/async.html

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux