aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-10-06 08:20:39 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-10-06 08:20:39 +0800
commit7b47080e9487c5a2119917708e66a29237c6920c (patch)
treeb7af2c3236dfc89b33c159c540484f05f1abfe83 /core
parent8cf35c5ceb10d5c54e933127fb60c5034ef8a149 (diff)
downloadQMidiPlayer-7b47080e9487c5a2119917708e66a29237c6920c.tar.xz
Fix rtmidi include path.
Diffstat (limited to 'core')
-rw-r--r--core/qmpmidioutrtmidi.cpp2
-rw-r--r--core/qmpmidioutrtmidi.hpp4
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 <algorithm>
#include <deque>
#include <vector>
-#include "rtmidi/RtMidi.h"
+#include "RtMidi.h"
#include "qmpmidioutrtmidi.hpp"
void split(std::string s,char c,std::deque<std::string>& 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 <vector>
#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: