aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
5 files changed, 5 insertions, 5 deletions
diff --git a/src/mdaDX10.cpp b/src/mdaDX10.cpp
index a6ca283..c7ba0a2 100644
--- a/src/mdaDX10.cpp
+++ b/src/mdaDX10.cpp
@@ -453,7 +453,7 @@ int32_t mdaDX10::processEvent(const LV2_Atom_Event* ev)
if (ev->body.type != midiEventType)
return 0;
- const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY(&ev->body);
+ const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY_CONST(&ev->body);
switch(midiData[0] & 0xf0) //status byte (all channels)
{
diff --git a/src/mdaEPiano.cpp b/src/mdaEPiano.cpp
index a7fe066..e967c22 100644
--- a/src/mdaEPiano.cpp
+++ b/src/mdaEPiano.cpp
@@ -505,7 +505,7 @@ int32_t mdaEPiano::processEvent(const LV2_Atom_Event* ev)
if (ev->body.type != midiEventType)
return 0;
- const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY(&ev->body);
+ const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY_CONST(&ev->body);
switch(midiData[0] & 0xf0) //status byte (all channels)
{
diff --git a/src/mdaJX10.cpp b/src/mdaJX10.cpp
index 9805767..fb44899 100644
--- a/src/mdaJX10.cpp
+++ b/src/mdaJX10.cpp
@@ -751,7 +751,7 @@ int32_t mdaJX10::processEvent(const LV2_Atom_Event* ev)
if (ev->body.type != midiEventType)
return 0;
- const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY(&ev->body);
+ const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY_CONST(&ev->body);
switch(midiData[0] & 0xf0) //status byte (all channels)
{
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp
index 5ae3bf0..3e15e34 100644
--- a/src/mdaPiano.cpp
+++ b/src/mdaPiano.cpp
@@ -468,7 +468,7 @@ int32_t mdaPiano::processEvent(const LV2_Atom_Event* ev)
if (ev->body.type != midiEventType)
return 0;
- const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY(&ev->body);
+ const uint8_t* midiData = (const uint8_t*)LV2_ATOM_BODY_CONST(&ev->body);
switch(midiData[0] & 0xf0) //status byte (all channels)
{
diff --git a/wscript b/wscript
index 0e55dd4..0fd8698 100644
--- a/wscript
+++ b/wscript
@@ -22,7 +22,7 @@ def configure(conf):
conf.line_just = 23
autowaf.display_header('MDA.lv2 Configuration')
- autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0', uselib_store='LV2')
+ autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.0', uselib_store='LV2')
autowaf.display_msg(conf, "LV2 bundle directory",
conf.env.LV2DIR)