0
0

Hi,

i used the sample code from the FMOD Player to seek in a Tracked Media, and it works well.
For my purpose i would like to know what the position in seconds after that seek !
I constantly update a Clock, but a call to :
[code:11ky1qdd]

public int getTime()
{
if(module!=null)
{
int time = FMusic.FMusic_GetTime(moduleHandle)
return time/1000;

}
return 0;

}
[/code:11ky1qdd]

only returns the time played since the playback was started! For Stream based Media this all works good
indeed.

Any sugestions && Many Thanks,
Jens

  • You must to post comments
0
0

yes, i searched this forum a lot about this unlucky fact. Calculating the average lenght is possible as i read. So i have to calc to average
lenght of each order and calc them together, there was some formula: BPM / 5 right ?

Mods that loop/jump at the end will fall outside this calculation, and will not show correctly.
Seems that winamp scans the files really carefully. Anyway most people do not hear mods but i like to include it so this is the best way to handle this first for me.

[quote:2o8g5tc5]
ie you can’t just multiply the order number by a millisecond value for example, mods have pattern jumps etc)[/quote:2o8g5tc5]

How to get the millisecond value to talk about ?

  • jens
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.