diff options
Diffstat (limited to 'muse2/synti/vam/vam.cpp')
-rw-r--r-- | muse2/synti/vam/vam.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/muse2/synti/vam/vam.cpp b/muse2/synti/vam/vam.cpp index b473188f..7928aec2 100644 --- a/muse2/synti/vam/vam.cpp +++ b/muse2/synti/vam/vam.cpp @@ -450,8 +450,8 @@ void VAM::processMessages() // while (gui->fifoSize()) { - MidiPlayEvent ev = gui->readEvent(); - if (ev.type() == ME_CONTROLLER) + MusECore::MidiPlayEvent ev = gui->readEvent(); + if (ev.type() == MusECore::ME_CONTROLLER) { // process local? //setController(ev.dataA() & 0xfff, ev.dataB()); @@ -480,8 +480,8 @@ void VAM::process(float** ports, int offset, int sampleCount) // synthesizer GUI // while (gui->fifoSize()) { - MidiPlayEvent ev = gui->readEvent(); - if (ev.type() == ME_CONTROLLER) { + MusECore::MidiPlayEvent ev = gui->readEvent(); + if (ev.type() == MusECore::ME_CONTROLLER) { // process local? setController(ev.dataA() & 0xfff, ev.dataB()); sendEvent(ev); @@ -636,7 +636,7 @@ bool VAM::setController(int /*channel*/, int ctrl, int data) } setController(ctrl, data); - MidiPlayEvent ev(0, 0, channel, ME_CONTROLLER, ctrl, data); + MusECore::MidiPlayEvent ev(0, 0, channel, MusECore::ME_CONTROLLER, ctrl, data); gui->writeEvent(ev); return false; } |