For decoding video files I managed to get Theora Play working in my project, but right now it feeds though SDL and I want to instead stream it into FMOD. I am suspecting it is similar, in FMOD, but I haven’t dug that low level in it just yet.
The way it currently flows starts simply by setting up the SDL audio system, including passing it a audio_callback function as well to use. Then as the decoder works it pulls out the audio per frame, and stuffs it into a “THEORAPLAY_AudioPacket” that is stored within a linked list. The list itself is used by the SDL library whenever it is calling the function it was linked before.
I have an FMOD framework I use already, but would love some tips, most notably any examples how to inject streaming audio. Would love if fmod supports Theora Play naively, but seems unlikely after trying a bit of searching the forum.