Hi all,

I use my own StreamCallBack. I play different part of one or multiple files (in different format) seamlessly without any problem.

Now, i need to know the actual PLAYING position and i use a DSP callback for this purpose :

1- Is it a good way, knowing that FSOUND_Stream_GetTime returns 0 all the time (for me, it’s quite normal 😉 )

2- In the DSP Callback i get the number of samples given to the card then
ms_duration := (total_samples / Frequency) * 1000; That’s the question…. is it a good way, ’cause i get wrong values…. :(

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.