I’m trying to play streaming sound with ALSA and get the same problem with my own code which works for oss and with modified playstream example (added FMOD_System_SetOutput( system, FMOD_OUTPUTTYPE_ALSA ); line).
Playback starts, but after random short period (0-3s.) sound disappears and according to FMOD_Sound_GetPosition, timer gets mad and runs approx. 10 times faster.
A whole system plays sound via ALSA (amarok, mplayer, etc.) without any problems, so it doesn’t seem to be caused by system misconfiguration.
- Nap asked 12 years ago
I was having same trouble ie no sound and/or playing too fast (under windows). It was threading issue for me.
I’ve solve it by calling FMOD Ex functions in the same thread.
Try to put FMOD Ex initialization and system update in the same thread.
Please login first to submit.