gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

midiDevice.h (413B)


      1 #pragma once
      2 
      3 #include "device.h"
      4 
      5 namespace mqConsoleLib
      6 {
      7 class MidiDevice : public Device
      8 {
      9 public:
     10 	MidiDevice(const std::string& _deviceName, bool _output);
     11 	~MidiDevice() override = default;
     12 
     13 	static std::string getDeviceNameFromId(int _devId);
     14 
     15 	std::string deviceNameFromId(int _devId) const override;
     16 	int deviceIdFromName(const std::string& _devName) const override;
     17 
     18 private:
     19 	const bool m_output;
     20 };
     21 }