FireLancer
04-07-2010 17:42:41
I want to play the audio from an ogg/theora file (using the TheoraVideoPlugin). The plug-in provides audio support through a simple callback system with a "insertData(float **data, int nSamples)" method being called to periodically provide more audio data.
The problem is I can not see how to give this data to OgreAL. Is there some way to create an OgreAL sound without giving it a file (eg just telling it the number of channels and frequency) and then feed decoded PCM data to it later?
The problem is I can not see how to give this data to OgreAL. Is there some way to create an OgreAL sound without giving it a file (eg just telling it the number of channels and frequency) and then feed decoded PCM data to it later?