How can you programmatically tell that audio is playing?

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

 



How can you programmatically tell that audio is playing or at least 
being sent to the soundcard?

I've got an application that occasionally fails to pick up a remote 
stream, but the process hangs around so I can't tell that it failed just 
by checking the process list. I would like to be able to tell if  the 
application is sending audio or not so I can retry.

I've checked the archives, googled, and tried cat'ing /dev/audio (which 
seems to return data whether or not audio is playing).

-- 
Christian Brink
cbrink@xxxxxxxxxxxx 


------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux