A little help with TheoraAudioInterface


03-04-2012 21:06:44

I've managed to implement my audio interface, and transfer information from TheoraVideoPlayer and to my Sound System.
The problem is that if I set the Theora clip to play and then wait for Theora to decode the audio, insert the data into the interface and then wait for the sound thread to collect the data and play, the audio won't be synchronized with video.
Is there any way to decode some audio beforehand, insert those into the interface and only then start playing the clip (and my SoundStream together!)?

Thanks in advance!