0
0

Hi – I’m currently writing a cross-platform program that uses fmod for music-playback. I query the function FSOUND_Stream_GetTime() for timing between sound/graphics.

The file is opened like this:
[code:2jom8b9w]FSOUND_STREAM *music_stream = FSOUND_Stream_OpenFile(filename, FSOUND_MPEGACCURATE | FSOUND_LOOP_NORMAL, 0);
FSOUND_Stream_Play(FSOUND_FREE, music_stream);[/code:2jom8b9w]

Problem: I get different latencies on windows (2000) and linux. Up to 500ms. So timing set up at one computer, fails on the other.

The machines are quite different – a p3-800 with an sb-live1024 running linux, and a p4-2GHz with an sb-audigy1, but I was under the assumption, that the time was latency-adjusted?

What to do?

Regards,
\hornet

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.