From e33b07819c75ef47fadc63c0d6a7def35c66c4f4 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 8 Jul 2014 10:24:21 -0700 Subject: [PATCH] wrap a missed midi method --- interface/src/devices/MIDIManager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/devices/MIDIManager.h b/interface/src/devices/MIDIManager.h index e77c63b56f..9fc55d11da 100644 --- a/interface/src/devices/MIDIManager.h +++ b/interface/src/devices/MIDIManager.h @@ -36,7 +36,9 @@ public: ~MIDIManager(); void openDefaultPort(); +#ifdef HAVE_RTMIDI bool hasDevice() const { return !!_midiInput; } +#endif public slots: unsigned int NoteOn() const { return 144; } unsigned int NoteOff() const { return 128; }