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.
- Adion asked 15 years ago
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.
- Adion answered 15 years ago
Please login first to submit.