pa_context_set_source_volume_by_index() failed

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

 



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

thanks :-)


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


---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus



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

  Powered by Linux