free-audio / clap

Audio Plugin API
https://cleveraudio.org/
MIT License
1.78k stars 100 forks source link

Receiving 64-bit buffers without CLAP_AUDIO_PORT_SUPPORTS_64BITS - is this allowed? #350

Closed sjoerdvankreel closed 1 year ago

sjoerdvankreel commented 1 year ago

Reaper 6.82. When i run an instrument version of my plugin (CLAP_PLUGIN_FEATURE_INSTRUMENT) i receive 32 bit output buffers. As soon as i a stack an fx version of said plugin (CLAP_PLUGIN_FEATURE_AUDIO_EFFECT) on top in reapers fx chain processing switches to 64 bit for both in/output. I'm not entirely sure but judging from this https://github.com/free-audio/clap/issues/70 i think that's not supposed to happen?

[EDIT] - it's not all of processing that goes to 64-bit: the instrument version is always 32 bit, the fx version is always 64 bit. Still not sure whether this is allowed.

sjoerdvankreel commented 1 year ago

Closing - it's not too hard to convert manually.