I am using FMOD_UE4_Tutorials_Map in Unreal Engine 4 with FMOD 1.07.07
I am modifying the fmod_distance_filter sample plugin provided in the API and already added it to the master track associated with an Grenade event and verified that the plugin is being called because I generate custom logs.
In the Plugin code,
FMOD_RESULT FMODDistanceFilterState::process( float *inbuffer, float *outbuffer, unsigned int length, int channels );
I copy my own audio samples in the outbuffer [ also tried with inbuffer ] but am unable to hear the corresponding audio in UE4 ; Instead it plays the Grenade sound with some noise.
Is this a wrong approach ?
Is there a maximum time limit on which the entire processing should happen ?