0
0

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?

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

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?

  • You must to post comments
0
0

I understood you , what I was doing is describing what fmod does so you have to latency adjust in a similar way.

  • You must to post comments
0
0

Sorry, got it.

How do I know how long the delay/buffer is then? Where is this specified?

  • You must to post comments
0
0

So, Brett (or anybody), could you give some rough pseudo code how FMOD does it?

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.