2015-12-04 07:23:01 -05:00
|
|
|
#ifndef MIDI_DEVICE_INFO_H
|
|
|
|
#define MIDI_DEVICE_INFO_H
|
|
|
|
|
2024-10-19 18:46:31 -04:00
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
|
|
|
|
2015-12-04 07:23:01 -05:00
|
|
|
/* midi settings */
|
|
|
|
struct MidiDeviceInfo {
|
|
|
|
MidiDeviceInfo(const std::string& dev_name)
|
|
|
|
: device_name(dev_name)
|
|
|
|
, enable(true)
|
|
|
|
, systemic_input_latency(0)
|
|
|
|
, systemic_output_latency(0)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string device_name;
|
|
|
|
bool enable;
|
|
|
|
uint32_t systemic_input_latency;
|
|
|
|
uint32_t systemic_output_latency;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MIDI_DEVICE_INFO_H
|