diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mdaDX10.cpp | 2 | ||||
-rw-r--r-- | src/mdaEPiano.cpp | 2 | ||||
-rw-r--r-- | src/mdaJX10.cpp | 2 | ||||
-rw-r--r-- | src/mdaPiano.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mdaDX10.cpp b/src/mdaDX10.cpp index 8e8a5ca..a6ca283 100644 --- a/src/mdaDX10.cpp +++ b/src/mdaDX10.cpp @@ -313,7 +313,7 @@ void mdaDX10::processReplacing(float **inputs, float **outputs, int32_t sampleFr float o, x, e, mw=MW, w=rich, m=modmix; int32_t k=K; - LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); + const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); bool end = lv2_atom_sequence_is_end(&eventInput->body, eventInput->atom.size, ev); if(activevoices>0 || !end) //detect & bypass completely empty blocks { diff --git a/src/mdaEPiano.cpp b/src/mdaEPiano.cpp index ece9a94..a7fe066 100644 --- a/src/mdaEPiano.cpp +++ b/src/mdaEPiano.cpp @@ -355,7 +355,7 @@ void mdaEPiano::processReplacing(float **inputs, float **outputs, int32_t sample float x, l, r, od=overdrive; int32_t i; - LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); + const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); while(frame<sampleFrames) { bool end = lv2_atom_sequence_is_end(&eventInput->body, eventInput->atom.size, ev); diff --git a/src/mdaJX10.cpp b/src/mdaJX10.cpp index c51c946..9805767 100644 --- a/src/mdaJX10.cpp +++ b/src/mdaJX10.cpp @@ -447,7 +447,7 @@ void mdaJX10::processReplacing(float **inputs, float **outputs, int32_t sampleFr pwm = 1.0f + vib * (modwhl + pwmdep); //below triggers on k was too cheap! vib = 1.0f + vib * (modwhl + vibrato); - LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); + const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); bool end = lv2_atom_sequence_is_end(&eventInput->body, eventInput->atom.size, ev); if(activevoices>0 || !end) { diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index 3a05fbe..5ae3bf0 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -328,7 +328,7 @@ void mdaPiano::processReplacing(float **inputs, float **outputs, int32_t sampleF float x, l, r; int32_t i; - LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); + const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); while(frame<sampleFrames) { bool end = lv2_atom_sequence_is_end(&eventInput->body, eventInput->atom.size, ev); |