From 7b47080e9487c5a2119917708e66a29237c6920c Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 6 Oct 2019 08:20:39 +0800 Subject: Fix rtmidi include path. --- core/qmpmidioutrtmidi.cpp | 2 +- core/qmpmidioutrtmidi.hpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/qmpmidioutrtmidi.cpp b/core/qmpmidioutrtmidi.cpp index fba8e03..03b184d 100644 --- a/core/qmpmidioutrtmidi.cpp +++ b/core/qmpmidioutrtmidi.cpp @@ -4,7 +4,7 @@ #include #include #include -#include "rtmidi/RtMidi.h" +#include "RtMidi.h" #include "qmpmidioutrtmidi.hpp" void split(std::string s,char c,std::deque& v) diff --git a/core/qmpmidioutrtmidi.hpp b/core/qmpmidioutrtmidi.hpp index ee9a7d2..8bb829c 100644 --- a/core/qmpmidioutrtmidi.hpp +++ b/core/qmpmidioutrtmidi.hpp @@ -4,7 +4,6 @@ #include #define QMP_MAIN #include "../include/qmpcorepublic.hpp" -#include "rtmidi/RtMidi.h" struct qmpDeviceInitializer { CMidiTrack initseq; @@ -18,6 +17,8 @@ struct qmpDeviceInitializer static qmpDeviceInitializer* parse(const char* path); }; + +class RtMidiOut; class qmpMidiOutRtMidi:public qmpMidiOutDevice { private: @@ -45,6 +46,7 @@ public: void setInitializerFile(const char* path); }; + class qmpRtMidiManager { private: -- cgit v1.2.3