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

audio device has unknown channel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.4.2, 6.5.0 Beta1
    • 6.4.0
    • Multimedia
    • None
    • macOS

    Description

      import QtQuick
      import QtQuick.Window
      import QtMultimedia
      
      Window {
          width: 640
          height: 480
          visible: true
      
          SoundEffect {
              source: "any.wav"
          }
      }
      
      

      (for some valid any.wav file) works but on launch produces the error message

      audio device has unknown channel 4294967295

      about 200 times, completely cluttering up the application output. It seems something pointless is being re-tried excessively, which can't be good for startup performance. This happens in both debug and release modes. Worked fine in Qt5, have not checked Qt6 versions below 6.4.

      Attachments

        1. dump_audio_res2.txt
          22 kB
        2. dump_audio_res.txt
          21 kB
        3. dump_audio_main.cpp
          7 kB

        Issue Links

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

          Activity

            People

              artemiy Artem Dyomin
              linoleo Lino 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