commit e70b6776ebd6ac21d613fce800e45a65e97bb9b6
parent 8616522d5a13398fda032393780f5749d47192fc
Author: falkTX <falktx@falktx.com>
Date: Tue, 21 Apr 2020 02:42:52 +0100
Merge branch 'master' into develop
Diffstat:
2 files changed, 37 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
@@ -17,33 +17,47 @@ Getting time information from the host is possible.<br/>
It uses the same format as the JACK Transport API, making porting some code easier.<br/>
-List of plugins made with DPF:<br/>
+## Help and documentation
+
+Bug reports happen on the [https://github.com/DISTRHO/DPF/issues](DPF github project).
+
+Online documentation is available at [https://distrho.github.io/DPF/](https://distrho.github.io/DPF/).
+
+Online help and discussion about DPF happens in the [https://chat.kx.studio/channel/dpf](KXStudio chat DPF room).
+
+
+## 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://github.com/michaelwillis/dragonfly-reverb)
- - [Wolf-Shaper](https://github.com/pdesaulniers/wolf-shaper)
- - [Wolf-Spectrum](https://github.com/pdesaulniers/wolf-spectrum)
- - [Wolf-LFO](https://github.com/pdesaulniers/wolf-lfo)
- - [YK Chorus](https://github.com/SpotlightKid/ykchorus)
+ - [Dragonfly Reverb](https://michaelwillis.github.io/dragonfly-reverb)
+ - [Fogpad-port](https://github.com/linuxmao-org/fogpad-port)
- [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)
- - [Shiru Plugins](https://github.com/linuxmao-org/shiru-plugins)
+ - [Regrader-Port](https://github.com/linuxmao-org/regrader-port)
+ - [Rezonateur](https://github.com/jpcima/rezonateur)
+ - [Spectacle-analyzer](https://github.com/jpcima/spectacle/)
+ - [Stone Phaser](https://github.com/jpcima/stone-phaser)
+ - [String-machine](https://github.com/jpcima/string-machine)
- [Uhhyou Plugins](https://github.com/ryukau/LV2Plugins)
+ - [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
+ - [CV-LFO-blender-LV2](https://github.com/BramGiesen/cv-lfo-blender-lv2)
+ - [Juice Plugins](https://github.com/DISTRHO/JuicePlugins)
+ - [gunshot](https://github.com/soerenbnoergaard/gunshot)
- [midiomatic](https://github.com/SpotlightKid/midiomatic)
- - [osamc-lv2-workshop](https://github.com/osamc-lv2-workshop/lv2-workshop)
+ - [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.
Plugin examples are available in the `example/` folder inside this repo.<br/>
Extra OpenGL UI examples are available [here](https://github.com/DISTRHO/gl-examples).
-
-
-Online documentation is available at [https://distrho.github.io/DPF/](https://distrho.github.io/DPF/).
diff --git a/distrho/DistrhoPluginUtils.hpp b/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<DISTRHO_PLUGIN_NUM_OUTPUTS; ++i)
+ outputs[i] = o[i];
+ }
/**
Process a batch of events untill no more are available.