diff data/data.pro @ 562:ecce042cc374

* Wire up MIDI input port (as far as printing a message when an event comes in, anyway)
author Chris Cannam
date Mon, 23 Feb 2009 17:50:17 +0000
parents 863ad4b1f841
children ebb6ac65bccc
line wrap: on
line diff
--- a/data/data.pro	Mon Feb 23 14:40:17 2009 +0000
+++ b/data/data.pro	Mon Feb 23 17:50:17 2009 +0000
@@ -14,6 +14,11 @@
 OBJECTS_DIR = tmp_obj
 MOC_DIR = tmp_moc
 
+# Set up suitable platform defines for RtMidi
+linux*: DEFINES += __LINUX_ALSASEQ__
+macx*:  DEFINES += __MACOSX_CORE__
+win*:   DEFINES += __WINDOWS_MM__
+
 # Input
 HEADERS += fft/FFTapi.h \
            fft/FFTCacheReader.h \
@@ -48,6 +53,8 @@
            fileio/WavFileWriter.h \
            midi/MIDIEvent.h \
            midi/MIDIInput.h \
+           midi/rtmidi/RtError.h \
+           midi/rtmidi/RtMidi.h \
            model/AggregateWaveModel.h \
            model/AlignmentModel.h \
            model/Dense3DModelPeakCache.h \
@@ -104,6 +111,7 @@
            fileio/WavFileReader.cpp \
            fileio/WavFileWriter.cpp \
            midi/MIDIInput.cpp \
+           midi/rtmidi/RtMidi.cpp \
            model/AggregateWaveModel.cpp \
            model/AlignmentModel.cpp \
            model/Dense3DModelPeakCache.cpp \