[Interest] QAudioDecoder class on Macintosh?

René J.V. Bertin rjvbertin at gmail.com
Wed Apr 8 21:18:40 CEST 2015


On Wednesday April 08 2015 20:04:19 Till Oliver Knoll wrote:

>> I have a use for QAudioDecoder to load sound files into our numerical analysis program as data. I found Qt Multimedia and the QAudioDecoder. I wrote some trial code and got this message in my Creator console:
...
>Ha! That reminds me of my own failed attempt to load a 16bit PCM *.wav file:
...
>So if things haven't improved on OS X then I wouldn't hold my breath :/

FWIW, check out the QtAV project (on github). Its main intended use is to write audio players and (in some way, and IMO) replace the QuickTime API but there might be things you can reuse. Since it's based on FFMpeg it's bound to read just about anything (depending on how FFMpeg was built).

R.



More information about the Interest mailing list