I can’t seem to get a 1kb 4 second length wave to play in rapid succession. I load the wave as:
result = FMOD_System_CreateSound(m_pSystem, szName.c_str(), nFlags, 0, &sound);
I then call
result = FMOD_System_PlaySound(m_pSystem,FMOD_CHANNEL_FREE, m_vSounds[nIndex], false, &channel);
two seconds later I call the same line again.
It stops playing the original channel and then begins the new channel. Is there a fix to this, or am I missing something. Help!
- cib106 asked 11 years ago
The code I have written works just as you said for the example code. Every other sound I have tried, with the exception of the 1kb sound, worked correctly as stated in the FMOD Programmers API documentation. All the other sounds are 3kb or larger and are at least the same length. Could it be something with the file itself?
Please login first to submit.