DSP Plugin DataDrop Decoding

I’m struggling again with my rnbo wrapper and would like to add the capability to populate buffers through the fmod studio authoring.
After looking through the documentation, the best way to do that is through dspsetparamdata with the FMOD_DSP_PARAMETER_DATA_TYPE_USER flag, I think.

I have however two questions:

  1. RNBO expects raw pcm values. When using the default datadrop interface it sends the whole file to the plugin, of course. Is there a clever way to decode the data received in the callback through the fmod api? (Like it’s probably done for the convolution plugin.) If not I’d have to decode this myself using a lightweight, third-party library like miniaudio. My question here is basically how this is solved in the stock convolution plugin.
  2. Is it possible to retrieve the filename as this is not passed to the plugin? (Also in the convolution plugin the filename gets displayed) else I’d have to do a workaround to assign the buffers with a default name.

Thanks a lot in advance!

Solved it for now with dr_wav and dr_mp3, which works really well (:

The second question isn’t relevant anymore - i found a direct way internally, that works also great.