new to this, and I keep crashing fmod. PC in C.
I have a looping normal sound (created with
FSOUND_Sample_Load(FSOUND_UNMANAGED, “audio/xyaudio2.wav”, FSOUND_NORMAL, 0);)
Whilst it is playing I am trying to modify the sample loop points.
loopstart is always 0, and I modify loopend between 0 and the samples length (as returned by FSOUND_Sample_GetLength), however as the loopend value approaches loopstart fmod crashes, not always at the same value.
How can I prevent this?
FYI channel set up with:
channel = FSOUND_PlaySoundEx(FSOUND_FREE, XYaudio1, NULL, TRUE);
- fodder asked 14 years ago
- You must login to post comments