0
0

Hi,
would it be possible to make the mp3 decoding routines available directly to the api?
I want to buffer mp3 files in memory myself, and then decode mp3 frames to use in a stream callback.
Now I think the fmod mp3 decoding algorithm might be optimized for mmx and all the different mixer types and such, so it would be easy if I could use fmod’s mp3 decoding capabilities.
I want to do this for the following reasons :

1) Buffering a large part (but not the complete) mp3 file to memory so disk activity by other programs will not make my mp3 skip. I want to buffer in mp3 instead of wav due to memory size.

2) Enable reverse playing by getting the previous mp3 frames myself, passing them to the decoder and reversing the frames.

I would be happy with a simple function that you pass a mp3 frame to and that returns wave data.

  • You must to post comments
0
0

Hi Adion, I think the first problem should be corrected in the upcoming version of FMod, where brett said that there will be a function to make the stream buffer larger.

  • You must to post comments
0
0

I’m not sure,
I think that was the buffer size of the decoded data.
I actually want that buffersize to be 50 or even 25ms, so fast-reacting dsp’s such as equalizers are possible, but I want to buffer a longer piece of the mp3 already in memory.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.