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

QAudioDecoder cannot provide QAudioFormat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.5.2
    • Active Qt
    • None
    • Visual Studio 2019
      Windows 11 x86_64
    • Windows

      I created a QAudioDecode instance, linked the formatChanged signal to one of my slot functions, and then called the setSource function to load a wav file. I found that the meta information of the wav file was output on the console, but the formatChanged signal was not transmitted.

      I tried to obtain QAudioFormat from QAudioDecoder myself, but returned a default empty QAudioFormat. I am currently unable to obtain basic audio information normally.

        1. 屏幕截图 2023-08-13 112421.png
          552 kB
          He Junyi
        2. 屏幕截图 2023-08-13 112501.png
          66 kB
          He Junyi
        3. 屏幕截图 2023-08-13 112548.png
          30 kB
          He Junyi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            tsingyayin He Junyi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes