[pulseaudio-discuss] python sink status

Lennart Poettering lennart at poettering.net
Sun Oct 26 11:49:54 PDT 2008


On Sun, 12.10.08 22:53, Jason Taylor (killerkiwi2005 at gmail.com) wrote:

> Hi I've been playing with pulse from python..
> 
> Is there a way to detect if a sink is actually creating any sound ? or can I
> only detect if its a running?

You can connect to the monitor source of a sink a check whether there
is any signal on the PCM stream.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list