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

QAudioDecoder doesn't work on mac

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: 6.2.0 Beta3, 6.3.0 Alpha
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      macOS (testing on Mojave)
    • Platform/s:
      macOS
    • Commits:
      8111f1a069e8b73602dd6b70b4390cd91fb69846 (qt/qtmultimedia/dev)

      Description

      On this page it says "Qt 6 also has cross platform support for decoding audio files into raw PCM data using the QAudioDecoder class"
      Which means decoding mp3 using qt6 on mac should work, right?

      well, it doesn't

      it won't decode mp3, gives this error: "QAudioDecoder::FormatError: Unsupported Source Format"

      is this issue KNOWN? is it expected?

      minimal runnable example here, compiles and runs on mac and windows, qt5 and qt6. it won't link on qt6 just yet due to this other bug.

      Results:
      qt5 mac: ERROR: Service missing: "The QAudioDecoder object does not have a valid service" (as expected)
      qt5 win: works! YAY!
      qt6 mac: ERROR: Format: "Unsupported source format" <-- this should work, no?
      qt6 win: works! YAY!

        Attachments

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

          Activity

            People

            Assignee:
            dorisverria Doris Verria
            Reporter:
            davecotter David M. Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes