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

audio device has unknown channel

XMLWordPrintable

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

      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.

        1. dump_audio_main.cpp
          7 kB
          Artem Dyomin
        2. dump_audio_res.txt
          21 kB
          Lino Schraudolph
        3. dump_audio_res2.txt
          22 kB
          Lino Schraudolph
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            artemiy Artem Dyomin
            linoleo Lino Schraudolph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes