#include <winmmemidi_io.h>
|
| WinMMEMidiIO () |
|
| ~WinMMEMidiIO () |
|
void | start () |
|
void | stop () |
|
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) |
|
uint32_t | n_midi_inputs (void) const |
|
uint32_t | n_midi_outputs (void) const |
|
std::vector< WinMMEMidiInputDevice * > | get_inputs () |
|
std::vector< WinMMEMidiOutputDevice * > | get_outputs () |
|
void | update_device_info () |
|
std::vector< MidiDeviceInfo * > | get_device_info () |
|
MidiDeviceInfo * | get_device_info (const std::string &name) |
|
std::string | port_id (uint32_t, bool input) |
|
std::string | port_name (uint32_t, bool input) |
|
void | set_enabled (bool yn=true) |
|
bool | enabled (void) const |
|
void | set_port_changed_callback (void(changed_callback(void *)), void *arg) |
|
Definition at line 59 of file winmmemidi_io.h.
◆ WinMMEMidiIO()
ARDOUR::WinMMEMidiIO::WinMMEMidiIO |
( |
| ) |
|
◆ ~WinMMEMidiIO()
ARDOUR::WinMMEMidiIO::~WinMMEMidiIO |
( |
| ) |
|
◆ cleanup()
void ARDOUR::WinMMEMidiIO::cleanup |
( |
| ) |
|
|
private |
◆ clear_device_info()
void ARDOUR::WinMMEMidiIO::clear_device_info |
( |
| ) |
|
|
private |
◆ create_input_devices()
void ARDOUR::WinMMEMidiIO::create_input_devices |
( |
| ) |
|
|
private |
◆ create_output_devices()
void ARDOUR::WinMMEMidiIO::create_output_devices |
( |
| ) |
|
|
private |
◆ dequeue_input_event()
bool ARDOUR::WinMMEMidiIO::dequeue_input_event |
( |
uint32_t |
port, |
|
|
uint64_t |
timestamp_start, |
|
|
uint64_t |
timestamp_end, |
|
|
uint64_t & |
timestamp, |
|
|
uint8_t * |
data, |
|
|
size_t & |
size |
|
) |
| |
◆ destroy_input_devices()
void ARDOUR::WinMMEMidiIO::destroy_input_devices |
( |
| ) |
|
|
private |
◆ destroy_output_devices()
void ARDOUR::WinMMEMidiIO::destroy_output_devices |
( |
| ) |
|
|
private |
◆ discover()
void ARDOUR::WinMMEMidiIO::discover |
( |
| ) |
|
|
private |
◆ enabled()
bool ARDOUR::WinMMEMidiIO::enabled |
( |
void |
| ) |
const |
|
inline |
◆ enqueue_output_event()
bool ARDOUR::WinMMEMidiIO::enqueue_output_event |
( |
uint32_t |
port, |
|
|
uint64_t |
timestamp, |
|
|
const uint8_t * |
data, |
|
|
const size_t |
size |
|
) |
| |
◆ get_device_info() [1/2]
std::vector<MidiDeviceInfo*> ARDOUR::WinMMEMidiIO::get_device_info |
( |
| ) |
|
|
inline |
◆ get_device_info() [2/2]
MidiDeviceInfo* ARDOUR::WinMMEMidiIO::get_device_info |
( |
const std::string & |
name | ) |
|
◆ get_input_name_from_index()
static bool ARDOUR::WinMMEMidiIO::get_input_name_from_index |
( |
int |
index, |
|
|
std::string & |
name |
|
) |
| |
|
staticprivate |
◆ get_inputs()
◆ get_output_name_from_index()
static bool ARDOUR::WinMMEMidiIO::get_output_name_from_index |
( |
int |
index, |
|
|
std::string & |
name |
|
) |
| |
|
staticprivate |
◆ get_outputs()
◆ n_midi_inputs()
uint32_t ARDOUR::WinMMEMidiIO::n_midi_inputs |
( |
void |
| ) |
const |
|
inline |
◆ n_midi_outputs()
uint32_t ARDOUR::WinMMEMidiIO::n_midi_outputs |
( |
void |
| ) |
const |
|
inline |
◆ port_id()
std::string ARDOUR::WinMMEMidiIO::port_id |
( |
uint32_t |
, |
|
|
bool |
input |
|
) |
| |
◆ port_name()
std::string ARDOUR::WinMMEMidiIO::port_name |
( |
uint32_t |
, |
|
|
bool |
input |
|
) |
| |
◆ set_enabled()
void ARDOUR::WinMMEMidiIO::set_enabled |
( |
bool |
yn = true | ) |
|
|
inline |
◆ set_port_changed_callback()
void ARDOUR::WinMMEMidiIO::set_port_changed_callback |
( |
void(changed_callback(void *)) |
, |
|
|
void * |
arg |
|
) |
| |
|
inline |
◆ start()
void ARDOUR::WinMMEMidiIO::start |
( |
| ) |
|
◆ start_devices()
void ARDOUR::WinMMEMidiIO::start_devices |
( |
| ) |
|
|
private |
◆ stop()
void ARDOUR::WinMMEMidiIO::stop |
( |
| ) |
|
◆ stop_devices()
void ARDOUR::WinMMEMidiIO::stop_devices |
( |
| ) |
|
|
private |
◆ update_device_info()
void ARDOUR::WinMMEMidiIO::update_device_info |
( |
| ) |
|
◆ m_active
bool ARDOUR::WinMMEMidiIO::m_active |
|
private |
◆ m_changed_arg
void* ARDOUR::WinMMEMidiIO::m_changed_arg |
|
private |
◆ m_changed_callback
void(* ARDOUR::WinMMEMidiIO::m_changed_callback) (void *) |
|
private |
◆ m_device_info
◆ m_device_lock
pthread_mutex_t ARDOUR::WinMMEMidiIO::m_device_lock |
|
private |
◆ m_enabled
bool ARDOUR::WinMMEMidiIO::m_enabled |
|
private |
◆ m_inputs
◆ m_outputs
◆ m_run
bool ARDOUR::WinMMEMidiIO::m_run |
|
private |
The documentation for this class was generated from the following file: