Reuse programmer sound (don't reset when event instance stops)

I’m doing some processing (cut and fadout) on sound that’s then assigned to programmer sound. I’d like to keep the same sound every time event is played. Is there any way to achieve it? Event is played with eventInstance.start(); without release.

Both CREATE_PROGRAMMER_SOUND and DESTROY_PROGRAMMER_SOUND are called. I’m not doing anything in DESTROY and in CREATE the PROGRAMMER_SOUND_PROPERTIES.sound pointer seems to always reset to 0.

Btw I’m reusing event instances by sending them back to instances pool on STOPPED event. DESTROYED is correctly not called until eventInstance.release().


What version of FMOD are you using?

Would it be possible to get the full code you are using?