Results 1 to 4 of 4

Thread: Can Qt check current audio status?

  1. #1
    Join Date
    Jul 2009
    Posts
    25
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Can Qt check current audio status?

    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.

  2. #2
    Join Date
    Jul 2009
    Posts
    25
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Can Qt check current audio status?

    Bumping this up.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can Qt check current audio status?

    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?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Jul 2009
    Posts
    25
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Can Qt check current audio status?

    Thanks, Wysota;

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

Similar Threads

  1. mp3 audio recording
    By dhe in forum Qt Programming
    Replies: 1
    Last Post: 26th August 2012, 10:00
  2. Audio OutPut
    By Maluko_Da_Tola in forum Newbie
    Replies: 2
    Last Post: 13th September 2010, 21:55
  3. Replies: 3
    Last Post: 8th July 2010, 07:41
  4. How to check COM port status?
    By rajesh in forum Qt Programming
    Replies: 1
    Last Post: 2nd December 2009, 17:07
  5. How to check the current status of a service
    By Ankitha Varsha in forum Qt Programming
    Replies: 1
    Last Post: 21st October 2008, 12:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.