Decoding Audio with QtMultimedia



  • Hello.

    I have a nice API that I wrote, similar to QtAudioEngine, for making games that I have been using for a while. It can stream raw buffers to spatial sources. But I want to use QtMultimedia to read the compressed sound files for me. I see no reason why it wouldn't be possible, given QtMultimedia already does this.

    Then I looked around QtMultimedia and found QAudioDecoder. However, it is not what I need. It pulls the frames towards you, but what I need is an API to pull frames from the decoder, in an immediate, blocking way, and not involving the event loop.

    Is there a way to do that in 5.4?

    Thanks :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.