Use 'const_iterator' to prevent MSVC from complaining
[ardour.git] / libs / backends / portaudio / midi_device_info.h
1 #ifndef MIDI_DEVICE_INFO_H
2 #define MIDI_DEVICE_INFO_H
3
4 /* midi settings */
5 struct MidiDeviceInfo {
6         MidiDeviceInfo(const std::string& dev_name)
7             : device_name(dev_name)
8             , enable(true)
9             , systemic_input_latency(0)
10             , systemic_output_latency(0)
11         {
12         }
13
14         std::string device_name;
15         bool enable;
16         uint32_t systemic_input_latency;
17         uint32_t systemic_output_latency;
18 };
19
20 #endif // MIDI_DEVICE_INFO_H