0
0

Hi,

I am using the SetMusicSpeed to set the playback speed for MIDI file. It does change the playback speed, but the getPosition info is out of sync.

For example, if I slow down the playback by half(0.5), the getPosition time is still going at normal speed. It will think the song is finished when it reaches the length of the song and stop the playback. But in fact, because I am playing at half speed so the song is only half done.

Any ideas how to fix it will be much appreciated.

Vince

  • You must to post comments
0
0

Try creating your sound with FMOD_CREATESOUNDEXINFO and make the length infinite, ie -1 or 0xffffffff
This is the only workaround we’ve got at the moment to stop the sound ending early when you use that function.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.