0
0

According to the documentation, setting the member ConnectionPoint of FMOD_REVERB_CHANNELPROPERTIES by calling function Event::setReverbProperties, can link the reverb DSP to the DSP Head unit of the event. It makes the effects of event processed previously, and then send to the reverb.

I wrote code link following:
[code:1cp2k2iy]
evt->getChannelGroup(&group);
group->getDSPHead(&dspHead);
evt->getReverbProperties(&props);
props.ConnectionPoint = reinterpret_cast<FMOD_DSP *>(dspHead);
evt->setReverbProperties(&props);
[/code:1cp2k2iy]

But it couldn’t work properly. The connection between SFXReverb and the event was broken, and there is no reverb applied. In rare situation, it can work. But I can’t find the rule of this mechanism.

  • You must to post comments
0
0

Hi, I think the issue there is the dsp node for the event channelgroup has been optimized out to save memory.

You can remove the dsp code I think and use FMOD_EVENT_EFFECTS_AFFECT_REVERB property when you get your event.
Otherwise to get the dsp node in, use FMOD_EVENT_USERDSP when getting your event for the first time, so getDSPHead returns the right pointer.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.