Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16842

QAudioDeviceInfo::availableDevices fails to update in a QCoreApplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.0
    • Multimedia
    • None
    • OSX 10.6.6

      In the attached simple test code, QAudioDeviceInfo::availableDevices fails to reflect any changes in the available audio devices (caused by un/plugging USB audio devices while running). New devices plugged in are not reported while unplugging a reported device causes the error "QAudioDeviceInfo: Unable to find device name" - presumably because QAudioDeviceInfo tries to reference the device that no longer exists.

      The problem disappears when the QCoreApplication is replaced with a QApplication; it seems that QCoreApplication does not forward the relevant signals from the audio backend while QApplication does.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            lino Nic Schraudolph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes