[Interest] Qt6 porting guidance: QSound? QAudioFormat: endian, codec?

David M. Cotter dave at kjams.com
Mon Aug 9 16:58:05 CEST 2021


> QAudioDecoder now decodes to the native format used in the encoded file
do you mean if the native format is mp3, that i'm going to get mp3 data? if so, how is that considered "decoding" ?

> That is, it will output in the same channel count, sample rate, sample format (the bits per sample information is sometimes irrelevant for compressed formats and therefore will be 0 or not known.
i don't get it. i thought the point was to get PCM / raw uncompressed data?

does Qt6 Beta2 have some facility for "conforming" the output of QAudioDecoder to, say, 44.1k, 16bit signed int, Stereo?

-dave


More information about the Interest mailing list