# Core API FMOD\_System\_RegisterDSP returns FMOD\_ERR\_PLUGIN\_VERSION

**URL:** <https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316>\
**Category:** FMOD Engine\
**Created:** [December 14, 2019, 11:24pm UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316 "2019-12-14T23:24:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunkin351](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/sunkin351/32/1140_2.png) [@Sunkin351](https://qa.fmod.com/u/Sunkin351)\
**Post date:** [December 14, 2019, 11:24pm UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/1 "2019-12-14T23:24:43Z")

</div>

I’m here to report a bug with either the API or the Custom DSP Example. I ported the example to C# with my API Wrapper for FMOD and it gives me FMOD\_ERR\_PLUGIN\_VERSION for sdk version value 0x00010000 (1.0.0) which is what’s used in the Example program. I’ve tried a few other values but to no avail.

---

<div class="post-metadata">

**Author:** ![Sunkin351](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/sunkin351/32/1140_2.png) [@Sunkin351](https://qa.fmod.com/u/Sunkin351)\
**Post date:** [December 17, 2019, 10:03pm UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/2 "2019-12-17T22:03:39Z")

</div>

On another note, Here’s my implementation of the Example. Forgot that I should probably add this in.

> <https://github.com/sunkin351/FmodAudio/blob/master/Examples/CustomDSPExample.cs>

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [December 19, 2019, 5:03am UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/3 "2019-12-19T05:03:13Z")

</div>

The `PluginSDKVersion` should be set to [`FMOD_PLUGIN_SDK_VERSION`](https://fmod.com/resources/documentation-api?version=2.0&page=white-papers-dsp-plugin-api.html#the-plug-in-descriptor).

> The first member, [FMOD\_DSP\_DESCRIPTION::pluginsdkversion](https://fmod.com/resources/documentation-api?version=2.0&page=plugin-api-dsp.html#fmod_dsp_description_pluginsdkversion), must always hold the version number of the plug-in SDK it was complied with. This version is defined as `FMOD_PLUGIN_SDK_VERSION` . The SDK version is incremented whenever changes to the API occur.

---

<div class="post-metadata">

**Author:** ![Sunkin351](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/sunkin351/32/1140_2.png) [@Sunkin351](https://qa.fmod.com/u/Sunkin351)\
**Post date:** [December 20, 2019, 2:44am UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/4 "2019-12-20T02:44:53Z")

</div>

Well, crap… How do I access that at runtime? (I’m probably gonna have to hard code that, aren’t I?)

Also, The example should probably use that, should it not? (Currently, its using the constant `0x00010000`)

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [December 20, 2019, 3:22am UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/5 "2019-12-20T03:22:29Z")

</div>

Which example are you referring to?

---

<div class="post-metadata">

**Author:** ![Sunkin351](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/sunkin351/32/1140_2.png) [@Sunkin351](https://qa.fmod.com/u/Sunkin351)\
**Post date:** [December 20, 2019, 6:49am UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/6 "2019-12-20T06:49:58Z")

</div>

`dsp_custom.cpp` in release 2.0.5’s Core API examples.

Edit: Wait, its setting that to another field of the structure… And leaving PluginSDKVersion 0… Nvm

Edit 2: Now I’m having another issue, in that its not calling my DSP Creation callback, it goes straight and calls the Read Callback… Do I make another forum post for this or…?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [January 5, 2020, 11:40pm UTC](https://qa.fmod.com/t/core-api-fmod-system-registerdsp-returns-fmod-err-plugin-version/15316/7 "2020-01-05T23:40:17Z")

</div>

Best to make a new post for this, are you able to add any logging to see if the create callback is being triggered at all?
