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

QAudioDecoder doesn't work on mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta3, 6.3.0 Alpha
    • 6.2.0 Beta1
    • Multimedia
    • None
    • macOS (testing on Mojave)
    • macOS
    • 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

        For Gerrit Dashboard: QTBUG-95360
        # Subject Branch Project Status CR V

        Activity

          People

            dorisverria Doris Verria
            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