Greetings. I’ve adapted the cudaDecodeGL example for my needs, and the video seems to work quite well. Now, however, I need to move on to decoding the audio, which the cudaDecodeGL example project doesn’t address at all. I imagine I’d have to decode each packet with something like fmod, save it to a queue, stream the decoded packets with something like RTAudio, and find a way to keep everything in sync. It’s a fair amount of work, so in the hopes of not reinventing the wheel, my questions are these:
Is there an easier way to do it, perhaps one that takes advantage of the GPU?
Does any sample code exist that addresses how to deal with the audio packets returned by the audio data handler?
Thanks to anyone who might be able to help,