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

QAudioDeviceInfo::availableDevices fails to update in a QCoreApplication

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes