0
0

I have some large ogg files that need to be streamed from a buffer smaller than the total size of the stream.

From what I can tell I can’t use FMOD.MODE.OPENMEMORY for this purpose because then I would have to have allocated the entire buffer (not really streaming).
Additionally I can’t use FMOD.MODE.OPENUSER because FMOD.SOUND_FORMAT doesn’t include OGG.

Does the underlying implementation of createStream(file) manage its memory in the manner described?

Or do I have to convert them to mp3s and use OPENUSER + FMOD.SOUND_FORMAT.MPEG?

  • You must to post comments
0
0

If you need to stream from memory, the simplest solution is override the file callbacks and feed the stream on demand.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.