diff --git a/dpf/README.md b/dpf/README.md index a2c63df..5715450 100644 --- a/dpf/README.md +++ b/dpf/README.md @@ -17,29 +17,31 @@ Getting time information from the host is possible.
It uses the same format as the JACK Transport API, making porting some code easier.
-List of plugins made with DPF:
+## List of plugins made with DPF: - [DISTRHO glBars](https://github.com/DISTRHO/glBars) - [DISTRHO Kars](https://github.com/DISTRHO/Kars) - [DISTRHO Mini-Series](https://github.com/DISTRHO/Mini-Series) - [DISTRHO MVerb](https://github.com/DISTRHO/MVerb) + - [DISTRHO ndc Plugs](https://github.com/DISTRHO/ndc-Plugs) - [DISTRHO Nekobi](https://github.com/DISTRHO/Nekobi) - [DISTRHO ProM](https://github.com/DISTRHO/ProM) - - [DISTRHO ndc Plugs](https://github.com/DISTRHO/ndc-Plugs) - - [Juice Plugins](https://github.com/DISTRHO/JuicePlugins) (work in progress) - - [ZamAudio Suite](https://github.com/zamaudio/zam-plugins) - [Dragonfly Reverb](https://michaelwillis.github.io/dragonfly-reverb) - - [Wolf Shaper](https://github.com/pdesaulniers/wolf-shaper) - - [Wolf Spectrum](https://github.com/pdesaulniers/wolf-spectrum) - - [YK Chorus](https://github.com/SpotlightKid/ykchorus) - [Ninjas2](https://github.com/rghvdberg/ninjas2) - - [String-machine](https://github.com/jpcima/string-machine) - - [Rezonateur](https://github.com/jpcima/rezonateur) + - [osamc-lv2-workshop](https://github.com/osamc-lv2-workshop/lv2-workshop) (simple plugins code examples) - [QuadraFuzz](https://github.com/jpcima/quadrafuzz) + - [Rezonateur](https://github.com/jpcima/rezonateur) - [Stone Phaser](https://github.com/jpcima/stone-phaser) + - [String-machine](https://github.com/jpcima/string-machine) - [Uhhyou Plugins](https://github.com/ryukau/LV2Plugins) - - [Shiru Plugins](https://github.com/linuxmao-org/shiru-plugins) (work in progress) - - [midiomatic](https://github.com/SpotlightKid/midiomatic) (work in progress) - - [osamc-lv2-workshop](https://github.com/osamc-lv2-workshop/lv2-workshop) (simple plugins code examples) + - [Wolf Shaper](https://github.com/pdesaulniers/wolf-shaper) + - [Wolf Spectrum](https://github.com/pdesaulniers/wolf-spectrum) + - [YK Chorus](https://github.com/SpotlightKid/ykchorus) + - [ZamAudio Suite](https://github.com/zamaudio/zam-plugins) + ## Work in progress + - [Juice Plugins](https://github.com/DISTRHO/JuicePlugins) + - [midiomatic](https://github.com/SpotlightKid/midiomatic) + - [Shiro Plugins](https://github.com/ninodewit/SHIRO-Plugins/) + - [Shiru Plugins](https://github.com/linuxmao-org/shiru-plugins) Checking the [github "DPF" tag](https://github.com/topics/dpf) can potentially brings up other DPF-made plugins. diff --git a/dpf/distrho/DistrhoPluginUtils.hpp b/dpf/distrho/DistrhoPluginUtils.hpp index 7c34303..d381ca6 100644 --- a/dpf/distrho/DistrhoPluginUtils.hpp +++ b/dpf/distrho/DistrhoPluginUtils.hpp @@ -50,7 +50,7 @@ START_NAMESPACE_DISTRHO class AudioMidiSyncHelper { public: /** Parameters from the run function, adjusted for event sync */ - float** outputs; + float* outputs[DISTRHO_PLUGIN_NUM_OUTPUTS]; uint32_t frames; const MidiEvent* midiEvents; uint32_t midiEventCount; @@ -59,13 +59,17 @@ public: Constructor, using values from the run function. */ AudioMidiSyncHelper(float** const o, uint32_t f, const MidiEvent* m, uint32_t mc) - : outputs(o), + : outputs(), frames(0), midiEvents(m), midiEventCount(0), remainingFrames(f), remainingMidiEventCount(mc), - totalFramesUsed(0) {} + totalFramesUsed(0) + { + for (uint i=0; i