summaryrefslogtreecommitdiff
path: root/libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp')
-rw-r--r--libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp b/libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp
index e79ffeb..0cb062d 100644
--- a/libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp
+++ b/libs/distrho/src/DistrhoPluginLADSPA+DSSI.cpp
@@ -334,9 +334,9 @@ private:
// LADSPA ports
#if DISTRHO_PLUGIN_NUM_INPUTS > 0
- LADSPA_Data* fPortAudioIns[DISTRHO_PLUGIN_NUM_INPUTS];
+ const LADSPA_Data* fPortAudioIns[DISTRHO_PLUGIN_NUM_INPUTS];
#else
- LADSPA_Data** fPortAudioIns;
+ const LADSPA_Data** fPortAudioIns;
#endif
#if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
LADSPA_Data* fPortAudioOuts[DISTRHO_PLUGIN_NUM_OUTPUTS];
@@ -446,7 +446,11 @@ static void dssi_run_synth(LADSPA_Handle instance, ulong sampleCount, snd_seq_ev
static LADSPA_Descriptor sLadspaDescriptor = {
/* UniqueID */ 0,
/* Label */ nullptr,
+#if DISTRHO_PLUGIN_IS_RT_SAFE
/* Properties */ LADSPA_PROPERTY_HARD_RT_CAPABLE,
+#else
+ /* Properties */ 0x0,
+#endif
/* Name */ nullptr,
/* Maker */ nullptr,
/* Copyright */ nullptr,