aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidioutrtmidi.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-10-05 23:04:53 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-10-05 23:04:53 +0800
commit8cf35c5ceb10d5c54e933127fb60c5034ef8a149 (patch)
tree21d68963030f0fca87eef2e8503e32c97ceb0553 /core/qmpmidioutrtmidi.hpp
parent5ad76bb13ecc29aeb5b2b71cb33a00add44c5b35 (diff)
downloadQMidiPlayer-8cf35c5ceb10d5c54e933127fb60c5034ef8a149.tar.xz
Replaced the option "default output device" with a more powerful one.
Old code for default output device completely removed.
Diffstat (limited to 'core/qmpmidioutrtmidi.hpp')
-rw-r--r--core/qmpmidioutrtmidi.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/qmpmidioutrtmidi.hpp b/core/qmpmidioutrtmidi.hpp
index 0a4fd60..ee9a7d2 100644
--- a/core/qmpmidioutrtmidi.hpp
+++ b/core/qmpmidioutrtmidi.hpp
@@ -48,11 +48,8 @@ public:
class qmpRtMidiManager
{
private:
- static RtMidiOut* dummy;
- std::vector<std::pair<qmpMidiOutRtMidi*,std::string>> devices;
+ static std::vector<std::pair<qmpMidiOutRtMidi*,std::string>> devices;
public:
- void createDevices();
- void deleteDevices();
- std::vector<std::pair<qmpMidiOutRtMidi*,std::string>> getDevices();
+ static std::vector<std::pair<qmpMidiOutRtMidi*,std::string>> getDevices();
};
#endif // QMPMIDIMAPPERS_H