0
0

I want to add a custom DSP to one particular event.
Currently in my code the following works:

[code:3dx9qq7r] my_event->getCategory(&category);
category->getChannelGroup(&channelGroup);
channelGroup->addDSP(my_effect,NULL);[/code:3dx9qq7r]

This doesn’t work however, and this is what I need:

[code:3dx9qq7r] my_event->getChannelGroup(&channelGroup);
channelGroup->addDSP(my_effect,NULL);[/code:3dx9qq7r]

Using a category doesn’t help me as I need to determine in code whether the event should have a DSP applied to it. The docs for Event::getChannelGroup claim that:

[quote:3dx9qq7r]Retrieves a pointer to a lower level ChannelGroup class, mainly so that the programmer can add a custom DSP effect with ChannelGroup::addDSP.
[/quote:3dx9qq7r]

Is this a problem of FMODex vs FMOD Designer API?
Can anyone help me out?

  • You must to post comments
0
0

That code would work, are you sure you’re not accidently exporting the wavebanks as hardware instead of software?

  • You must to post comments
0
0

Sorted it out – sorry my fault. I was adding the DSP in the first frame, but the event was actually being played a few frames later…

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.