13
0
livetrax/libs/backends/portaudio/midi_device_info.h

24 lines
447 B
C
Raw Normal View History

#ifndef MIDI_DEVICE_INFO_H
#define MIDI_DEVICE_INFO_H
#include <cstdint>
#include <string>
/* 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