Can i get the exact elapsed time of an audio stream?
by Viren Thambidorai · in Technical Issues · 08/21/2007 (4:27 am) · 1 replies
Hey all,
i m making a dance game and for that i need to know the exact position of the audio file where it is playing currently. i tried alxGetStreamPosition(), but it is not giving me exact pos at every instance. it gives the position when there is a prominent difference between the last pos and the current one. that means it is giving me elapsed time after almost 1 or 1.25 secs. till that time it is repeating the previous value. is there any alternative for this. i need to know the elapsed time at almost every 50 milli seconds.
plz help me. i m using ogg vorbis.
i m making a dance game and for that i need to know the exact position of the audio file where it is playing currently. i tried alxGetStreamPosition(), but it is not giving me exact pos at every instance. it gives the position when there is a prominent difference between the last pos and the current one. that means it is giving me elapsed time after almost 1 or 1.25 secs. till that time it is repeating the previous value. is there any alternative for this. i need to know the elapsed time at almost every 50 milli seconds.
plz help me. i m using ogg vorbis.
Torque Owner Martin Schultz