#include <winmmemidi_input_device.h>
|
static void CALLBACK | winmm_input_callback (HMIDIIN handle, UINT msg, DWORD_PTR instance, DWORD_PTR midi_msg, DWORD timestamp) |
|
Definition at line 35 of file winmmemidi_input_device.h.
◆ WinMMEMidiInputDevice()
ARDOUR::WinMMEMidiInputDevice::WinMMEMidiInputDevice |
( |
int |
index | ) |
|
◆ ~WinMMEMidiInputDevice()
ARDOUR::WinMMEMidiInputDevice::~WinMMEMidiInputDevice |
( |
| ) |
|
◆ add_sysex_buffer()
bool ARDOUR::WinMMEMidiInputDevice::add_sysex_buffer |
( |
std::string & |
error_msg | ) |
|
|
private |
◆ close()
bool ARDOUR::WinMMEMidiInputDevice::close |
( |
std::string & |
error_msg | ) |
|
|
private |
◆ dequeue_midi_event()
bool ARDOUR::WinMMEMidiInputDevice::dequeue_midi_event |
( |
uint64_t |
timestamp_start, |
|
|
uint64_t |
timestamp_end, |
|
|
uint64_t & |
timestamp, |
|
|
uint8_t * |
data, |
|
|
size_t & |
size |
|
) |
| |
Dequeue events that have accumulated in winmm_input_callback.
This is called by the audio processing thread/callback to transfer events into midi ports before processing.
◆ enqueue_midi_msg()
bool ARDOUR::WinMMEMidiInputDevice::enqueue_midi_msg |
( |
const uint8_t * |
midi_data, |
|
|
size_t |
size, |
|
|
uint32_t |
timestamp |
|
) |
| |
|
private |
◆ get_enabled()
bool ARDOUR::WinMMEMidiInputDevice::get_enabled |
( |
| ) |
|
◆ get_error_string()
std::string ARDOUR::WinMMEMidiInputDevice::get_error_string |
( |
MMRESULT |
error_code | ) |
|
|
private |
◆ handle_short_msg()
void ARDOUR::WinMMEMidiInputDevice::handle_short_msg |
( |
const uint8_t * |
midi_data, |
|
|
uint32_t |
timestamp |
|
) |
| |
|
private |
◆ handle_sysex_msg()
void ARDOUR::WinMMEMidiInputDevice::handle_sysex_msg |
( |
MIDIHDR *const |
midi_header, |
|
|
uint32_t |
timestamp |
|
) |
| |
|
private |
◆ name()
std::string ARDOUR::WinMMEMidiInputDevice::name |
( |
| ) |
const |
|
inline |
◆ open()
bool ARDOUR::WinMMEMidiInputDevice::open |
( |
UINT |
index, |
|
|
std::string & |
error_msg |
|
) |
| |
|
private |
◆ set_device_name()
bool ARDOUR::WinMMEMidiInputDevice::set_device_name |
( |
UINT |
index | ) |
|
|
private |
◆ set_enabled()
void ARDOUR::WinMMEMidiInputDevice::set_enabled |
( |
bool |
enable | ) |
|
◆ start()
bool ARDOUR::WinMMEMidiInputDevice::start |
( |
| ) |
|
◆ stop()
bool ARDOUR::WinMMEMidiInputDevice::stop |
( |
| ) |
|
◆ winmm_input_callback()
static void CALLBACK ARDOUR::WinMMEMidiInputDevice::winmm_input_callback |
( |
HMIDIIN |
handle, |
|
|
UINT |
msg, |
|
|
DWORD_PTR |
instance, |
|
|
DWORD_PTR |
midi_msg, |
|
|
DWORD |
timestamp |
|
) |
| |
|
staticprivate |
◆ m_handle
HMIDIIN ARDOUR::WinMMEMidiInputDevice::m_handle |
|
private |
◆ m_midi_buffer
const std::unique_ptr<PBD::RingBuffer<uint8_t> > ARDOUR::WinMMEMidiInputDevice::m_midi_buffer |
|
private |
◆ m_name
std::string ARDOUR::WinMMEMidiInputDevice::m_name |
|
private |
◆ m_started
bool ARDOUR::WinMMEMidiInputDevice::m_started |
|
private |
◆ m_sysex_buffer
std::unique_ptr<uint8_t[]> ARDOUR::WinMMEMidiInputDevice::m_sysex_buffer |
|
private |
◆ m_sysex_header
MIDIHDR ARDOUR::WinMMEMidiInputDevice::m_sysex_header |
|
private |
The documentation for this class was generated from the following file: