0
0

Hello.
I load an huge mp3 File with fmod.
Now I want to set a "start position" and an "end position". How can I manage to do it?

I thought of using System.Windows.Forms.Timer in C#. Just set the "start position" and then the timer call with (end position – start position).
That will definately work.

But is there a solution with fmod alone, because I want to play the audio stream from start position to end position with an accuracy of 1ms.

  • You must to post comments
0
0

when you play the sound, use Channel::setPosition.
To end it at an absolutely exact point, use Channel::setDelay with the ‘end’ value.

  • You must to post comments
0
0

[quote="brett":22fo9gqh]when you play the sound, use Channel::setPosition.
To end it at an absolutely exact point, use Channel::setDelay with the ‘end’ value.[/quote:22fo9gqh]

Would setting the loop position and playing the sound looped once do the same thing?

  • You must to post comments
0
0

Well I used it, but it does not work…

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.