aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--src/mdaDX10.cpp2
-rw-r--r--src/mdaEPiano.cpp2
-rw-r--r--src/mdaJX10.cpp2
-rw-r--r--src/mdaPiano.cpp2
-rw-r--r--wscript2
6 files changed, 11 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 25b7c88..536210b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+mda-lv2 (1.2.2) stable;
+
+ * Fix compilation against LV2 < 1.8.0
+
+ -- David Robillard <d@drobilla.net> Sun, 05 Jan 2014 12:52:18 -0500
+
mda-lv2 (1.2.0) stable;
* Fix tuning of Piano and EPiano at sample rates other than 44.1 kHz
diff --git a/src/mdaDX10.cpp b/src/mdaDX10.cpp
index c7ba0a2..d07355f 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;
- const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body);
+ 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 e967c22..6443e7b 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;
- const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body);
+ 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 fb44899..d327cd6 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);
- const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body);
+ 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 3e15e34..a81ed03 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;
- const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body);
+ 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/wscript b/wscript
index 6c4c4f0..7fb066e 100644
--- a/wscript
+++ b/wscript
@@ -4,7 +4,7 @@ import re
import shutil
import waflib.extras.autowaf as autowaf
-MDA_VERSION = '1.2.0'
+MDA_VERSION = '1.2.2'
# Mandatory waf variables
APPNAME = 'mda-lv2' # Package name for waf dist