I am trying to fastly check if an application audio is working or not (because sometimes sound fails to start. It is application bug/limitation I guess).
What I am doing is to record 1s sample and check if there is something on it. But that is slow here.
I wonder if there is some way to list all applications using pulse audio on ubuntu 12.10?
I believe it has something to do with audio listening ports; other answers pointed to that but none worked here; they only listed the pulseaudio PID, but what I need to know is: what applications are using pulseaudio?, and I need to do this in the command line to use with scripts!!
To obtain a list of audio streams presently playing to any of available pulseaudio sinks we may issue the following command:
This will give us a rather long list of all details for a given stream. Amongst others it will also give us informantion on the application which called pulseaudio in the field
application.name
.