zamaudio / zam-plugins

Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality processing
http://www.zamaudio.com/?p=976
GNU General Public License v2.0
265 stars 37 forks source link

Dynamic buffer size and sample rate changes #91

Closed falkTX closed 1 year ago

falkTX commented 1 year ago

I went through all the plugins that used getSampleRate() and getBufferSize(). Fixed ZamNoise even though it is not enabled in the build yet, it needed a few tweaks to make it build with new DPF so I did the whole thing for it. For ZamSynth and ZamSFZ I left a TODO comment, those are more complex to handle and need more work anyhow.

Also fixed inline processing, in some hosts the audio buffer is reused and thus outputs == inputs

zamaudio commented 1 year ago

Thank you