PDA

View Full Version : Can Qt check current audio status?



bizmopeen
3rd November 2010, 20:56
Hello, all;

Can anyone tell me if there's an easy way to determine from inside a Qt program whether the default audio output is being used by another source? I want to be able to find that out and put up a warning message box BEFORE I crash the program by trying to call the audio when it's already being used. I'm running Fedora 12 Linux using ALSAsound with gstreamer & phonon. Thanks in advance.

bizmopeen
4th November 2010, 22:40
Bumping this up.

wysota
5th November 2010, 00:57
Correct me if I'm wrong but alsa can mix output from different sources seamlessly so opening the same output device should not really be a problem. Maybe your crashes are caused by a system misconfiguration?

bizmopeen
5th November 2010, 02:58
Thanks, Wysota;

I'll check into that with our team over here. Much appreciated...