0
0

Hi guys,

I am not sure. But we need
FSOUND_Sample_GetTime or GetLengthMs
as it exists for streams(FSOUND_Stream_GetTime).
O.k. I can open the mp3 as a stream and than as a sample,
but that is a workaround.

As the information should be available after Sample_Load,
there should not be problem.

Cheers Lars

  • You must to post comments
0
0

[code:2jc1xyc9]
/* convert from samples to ms */
int pos_sample_ms = (unsigned)((__int64)1000 * FSOUND_Sample_GetLength(MySamplePtr) / sample_rate);
[/code:2jc1xyc9]

  • You must to post comments
0
0

sample rate is unkown as the sample is.

Cheers Lars

  • You must to post comments
0
0

[quote="takomod":28imaoba]sample rate is unkown as the sample is.

Cheers Lars[/quote:28imaoba]

I don’t understand this : you migth know the samplerate for the sample you play even when you play raw data.

  • You must to post comments
0
0

thanx.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.