20 #ifndef WINMME_MIDI_IO_H
21 #define WINMME_MIDI_IO_H
43 : timeStamp (other.timeStamp)
68 uint64_t timestamp_start,
69 uint64_t timestamp_end,
91 std::string
port_id (uint32_t,
bool input);
std::string port_id(uint32_t, bool input)
static bool get_input_name_from_index(int index, std::string &name)
MidiDeviceInfo * get_device_info(const std::string &name)
uint32_t n_midi_outputs(void) const
void update_device_info()
static bool get_output_name_from_index(int index, std::string &name)
void destroy_output_devices()
pthread_mutex_t m_device_lock
bool dequeue_input_event(uint32_t port, uint64_t timestamp_start, uint64_t timestamp_end, uint64_t ×tamp, uint8_t *data, size_t &size)
bool enqueue_output_event(uint32_t port, uint64_t timestamp, const uint8_t *data, const size_t size)
void create_input_devices()
uint32_t n_midi_inputs(void) const
void set_port_changed_callback(void(changed_callback(void *)), void *arg)
std::vector< WinMMEMidiOutputDevice * > m_outputs
void set_enabled(bool yn=true)
std::vector< WinMMEMidiOutputDevice * > get_outputs()
void create_output_devices()
std::vector< MidiDeviceInfo * > get_device_info()
std::vector< MidiDeviceInfo * > m_device_info
void destroy_input_devices()
std::string port_name(uint32_t, bool input)
std::vector< WinMMEMidiInputDevice * > m_inputs
void(* m_changed_callback)(void *)
std::vector< WinMMEMidiInputDevice * > get_inputs()
GtkImageIconNameData name
std::vector< std::shared_ptr< WinMMEMIDIPacket > > WinMMEMIDIQueue
#define MaxWinMidiEventSize