Decoding Audio with QtMultimedia
lpcamargo last edited by
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?