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