pulseaudio API - is there an event for when a sink is added or removed?

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

 



On 10.03.2015 20:46, Andrew Kelley wrote:
> What is the best way to detect when a sink is added, removed, or 
> changed? Must I call pa_context_get_sink_info_list on a set interval 
> and then examine the new list for changes from the old list?
>
You can use the subscription API to get notified on such events.
See http://freedesktop.org/software/pulseaudio/doxygen/subscribe.html


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

  Powered by Linux