"Speaker saver" module to notify when sound is needed and when not

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

 



On Mon, 2011-11-07 at 23:01 +0100, Ben Bucksch wrote:
> On 07.11.2011 22:38, Tanu Kaskinen wrote:
> > The sink status (suspended / idle / running) is available to clients, and there will be notifications when the state changes.
> 
> How do these notifications happen (API)? I couldn't find information on 
> this module.

The API is the pulseaudio C library, "libpulse". Here's the libpulse
doxygen documentation:
http://freedesktop.org/software/pulseaudio/doxygen/index.html

Here's a very short introduction to the event subscription system:
http://freedesktop.org/software/pulseaudio/doxygen/subscribe.html

-- 
Tanu



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

  Powered by Linux