[pulseaudio-discuss] "Speaker saver" module to notify when sound is needed and when not

Tanu Kaskinen tanuk at iki.fi
Mon Nov 7 14:49:52 PST 2011


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



More information about the pulseaudio-discuss mailing list