Using dll DSP plugins FMOD error 54

Hi all,

I’m trying to use the dsp plugin examples in the low level api with the dsp_custom example.

I seem to be able to load the plugins fine with

result = system->loadPlugin(“fmod_distance_filter.dll”, 0, 0);
ERRCHECK(result);

but any further attempt to interact with it such as through

result = system->createDSPByPlugin(0, &dllDsp);
ERRCHECK(result);

ends up getting the following error:

FMOD error 54 - A requested output, dsp unit type or codec was not available.

Am I simply loading the plugin incorrectly? I’ve been following the instructions found in; https://www.fmod.com/resources/documentation-api?version=1.10&page=content/generated/overview/plugin_api_dsp.html

Thanks in advance!

The filename of the plugin needs to be the full path including the file name.