From d581deb65e8aadde90414bd62bf2e5a6a8c304fd Mon Sep 17 00:00:00 2001 From: Vincent GAUCHE Date: Fri, 19 May 2023 02:24:45 +0200 Subject: [PATCH] Fixing compiling error for RPI1 on mididevice --- src/mididevice.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mididevice.cpp b/src/mididevice.cpp index 5b714f1..b4a1173 100644 --- a/src/mididevice.cpp +++ b/src/mididevice.cpp @@ -305,14 +305,14 @@ void CMIDIDevice::MIDIMessageHandler(const u8 *pMessage, size_t nLength, unsigne break; case MIDI_CC_REVERB_LEVEL: -#ifdef MIXING_CONSOLE_ENABLE +#if defined(MIXING_CONSOLE_ENABLE) this->m_pSynthesizer->setMixingConsoleSendLevel(nTG, MixerOutput::FX_PlateReverb, maplong(pMessage[2], 0, 127, 0, 99)); -#else +#elif defined(PLATE_REVERB_ENABLE) m_pSynthesizer->SetReverbSend(maplong(pMessage[2], 0, 127, 0, 99), nTG); #endif break; -#ifdef MIXING_CONSOLE_ENABLE +#if defined(MIXING_CONSOLE_ENABLE) case MIDI_CC_ORBITONE_LEVEL: this->m_pSynthesizer->setMixingConsoleSendLevel(nTG, MixerOutput::FX_Orbitone, maplong(pMessage[2], 0, 127, 0, 99)); break;