Mac: QAudioDecoder + mp3?
Solved
Qt 6
-
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, works 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
: can't lnk but should also work -