Hi there, wonder if anyone else is getting this possible bug? I am trying to stream a 0.75 second long 32bit 44100hz mono wav file with the following code.
FMOD_SOUND* pFMODSound = 0 FMOD_CHANNEL* pChannel = 0; FMOD_System_CreateSound(pFMODSystem, "BubblePop1.wav", FMOD_DEFAULT | FMOD_LOOP_NORMAL | FMOD_CREATESTREAM, 0, &pFMODSound); FMOD_Sound_SetLoopCount(this->pFMODSound, 0); FMOD_System_PlaySound(pFMODSystem, pFMODSound, 0, false, &pChannel); FMOD_Channel_SetLoopCount(this->pChannel, 0);
The code above set things up so that I have the option of turning looping on and off after creating the Stream. When I turn the looping off as in above there is sort of an echo, or an extra bit of sound at the end of the sound effect. When I put looping back on all seems to work. If I create the stream without FMOD_LOOP_NORMAL then I am unable to make the Stream Loop. I get the same results when I use FMOD_System_CreateStream and omit FMOD_CREATESTREAM from the creation parameters.
I am using MINGW the libFmod.a library (encountered this problem with 1.08.04 and 1.09.04)
Is this a bug or am I doing something wrong?