Testing for audio playback

Michael 'Mickey' Lauer mickey at openmoko.org
Mon Aug 4 21:18:26 CEST 2008

Am Montag 04 August 2008 20:07:56 schrieb Andy Green:
> Somebody in the thread at some point said:
> | Am Montag 04 August 2008 17:18:50 schrieb Dylan Reilly:
> |> I do not want to test if the sound is working but if audio is
> |> currently being processed by the card.
> |
> | This is only possible if you are using an audio daemon that supports
> something
> | like that (e.g. pulseaudio) or if you are using a resource control system
> | with only cooperative programs. The latter is what FSO aims to go towards
> | with its Usage API.
> Or of course you could get stats or a flag from the driver...

Indeed. I wonder whether the alsa libraries have something like a currently 
connect client-statistics for dmix? Pulseaudio has that but it still seems a 
bit too heavy for our CPU.


More information about the community mailing list