[Interest] Qt6 porting guidance: QSound? QAudioFormat: endian, codec?
David M. Cotter
dave at kjams.com
Fri Aug 13 17:41:38 CEST 2021
when you say "consider" do you mean "be" ?
> On Aug 13, 2021, at 6:26 AM, Doris Verria <doris.verria at qt.io> wrote:
>
> Hello Dave,
>
> At the moment, there is no support for changing the format of QAudioBuffer. This will be a task for after 6.2.
> We will consider adding support for decoding into a requested format to QAudioDecoder in time for 6.2.
>
> Best,
> Doris
>
> On 12.8.21, 4:32 PM, "David M. Cotter" <dave at kjams.com> wrote:
>
> more specifically, can i create an empty QAudioBuffer in the required format, and assign to it the QAudioBuffer that came from QAudioDecoder, and expect it to conform to my specified format?
>
> thanks
>
> -dave
>
>> On Aug 9, 2021, at 12:09 PM, David M. Cotter <dave at kjams.com> wrote:
>>
>>> As mentioned, in Qt6 Beta2 there's no way to set a specific format to decode in (other than that of the encoded file).
>> yes, i got that.
>>
>> my audio pipeline expects a very specific format, and can't handle other formats. the source mp3s come from a random assortment from the user, which i have no control over.
>>
>> what i'm asking is if there is a way, in Qt6, AFTER we have PCM data in whatever random format, to conform it to another, specific format?
>>
>> is there a QAudioFormatConverter or something?
>>
>> if not, honestly, QAudioDecoder is useless.
>>
>> -dave
>
>
More information about the Interest
mailing list