I’ve created a plugin to play Amiga MODs. Then in getposition() in the plugin I return the currently playing row etc. this works fine EXCEPT the row returned is a bit before the actual sound. I would guess this has to to with some sort of buffering by FMOD. So my question is:
Is it possible to return the exact current position?
- bLAZER asked 7 years ago
What FMOD does internally is give a latency adjusted position. It does this storing the mod rows that are processed in a circular buffer, which is the size of delay incurred by the buffering. It then returns [currentpos-1] to give the ‘old’ position to the user, which is the one that he is listening to.
I’m not sure if you understood me… I’m not using FMOD’s plugin to play the MODS. I’m using LibMODPlug, but I guess this problem is for all "home made" plugins in general, that the 3rd party code is before the actual sound you hear in FMOD. Can I do anything about it?
Please login first to submit.