Audible "click" or "pop" when using FMOD_OPENMEMORY_POINT with FMOD_CREATESAMPLE

I found a workaround. What I’m doing instead is FMOD_OPENMEMORY | FMOD_CREATESAMPLE with the WAV file in memory, then using FMOD::sound::lock to retrieve the raw PCM. I then copy that to another buffer and release the first sound, and use FMOD_OPENMEMORY_POINT | FMOD_OPENRAW for any sounds that need that particular file thereafter. This works perfectly and allows me to reuse that same buffer for any number of sounds with various settings without duplicating it again.

1 Like