|
Ardour
9.0-pre0-1952-gc5e0b21049
|
#include <coreaudio_backend.h>
Classes | |
| struct | ParserEvent |
Public Member Functions | |
| CoreMidiPort (CoreAudioBackend &b, const std::string &, PortFlags) | |
| ~CoreMidiPort () | |
| DataType | type () const |
| void * | get_buffer (pframes_t nframes) |
| const CoreMidiBuffer * | const_buffer () const |
| void | next_period () |
| void | set_n_periods (int n) |
| void | parse_events (const uint64_t time, const uint8_t *data, const size_t size) |
| void | clear_events () |
| void | reset_parser () |
Public Member Functions inherited from ARDOUR::BackendPort | |
| virtual | ~BackendPort () |
| const std::string & | name () const |
| const std::string & | pretty_name () const |
| const std::string & | hw_port_name () const |
| int | set_name (const std::string &name) |
| int | set_pretty_name (const std::string &name) |
| int | set_hw_port_name (const std::string &name) |
| PortFlags | flags () const |
| bool | is_input () const |
| bool | is_output () const |
| bool | is_physical () const |
| bool | is_terminal () const |
| bool | is_connected () const |
| bool | is_connected (BackendPortHandle port) const |
| bool | is_physically_connected () const |
| const std::set< BackendPortPtr > & | get_connections () const |
| int | connect (BackendPortHandle port, BackendPortHandle self) |
| int | disconnect (BackendPortHandle port, BackendPortHandle self) |
| void | disconnect_all (BackendPortHandle self) |
| const LatencyRange | latency_range (bool for_playback) const |
| void | set_latency_range (const LatencyRange &latency_range, bool for_playback) |
| void | update_connected_latency (bool for_playback) |
Public Member Functions inherited from ARDOUR::ProtoPort | |
| ProtoPort () | |
| virtual | ~ProtoPort () |
Private Member Functions | |
| int | queue_event (void *port_buffer, pframes_t timestamp, const uint8_t *buffer, size_t size) |
| bool | process_byte (const uint64_t, const uint8_t) |
| void | record_byte (uint8_t byte) |
| void | prepare_byte_event (const uint64_t time, const uint8_t byte) |
| bool | prepare_buffered_event (const uint64_t time) |
Private Attributes | |
| CoreMidiBuffer | _buffer [2] |
| int | _n_periods |
| int | _bufperiod |
| struct ARDOUR::CoreMidiPort::ParserEvent | _event |
| bool | _first_time |
| size_t | _unbuffered_bytes |
| size_t | _total_bytes |
| size_t | _expected_bytes |
| uint8_t | _status_byte |
| uint8_t | _parser_buffer [1024] |
Additional Inherited Members | |
Protected Member Functions inherited from ARDOUR::BackendPort | |
| BackendPort (PortEngineSharedImpl &b, const std::string &, PortFlags) | |
Protected Attributes inherited from ARDOUR::BackendPort | |
| PortEngineSharedImpl & | _backend |
Definition at line 77 of file coreaudio_backend.h.
| ARDOUR::CoreMidiPort::CoreMidiPort | ( | CoreAudioBackend & | b, |
| const std::string & | , | ||
| PortFlags | |||
| ) |
| ARDOUR::CoreMidiPort::~CoreMidiPort | ( | ) |
| void ARDOUR::CoreMidiPort::clear_events | ( | ) |
|
inline |
Definition at line 85 of file coreaudio_backend.h.
|
virtual |
Implements ARDOUR::BackendPort.
|
inline |
Definition at line 87 of file coreaudio_backend.h.
| void ARDOUR::CoreMidiPort::parse_events | ( | const uint64_t | time, |
| const uint8_t * | data, | ||
| const size_t | size | ||
| ) |
|
inlineprivate |
Definition at line 116 of file coreaudio_backend.h.
|
inlineprivate |
Definition at line 111 of file coreaudio_backend.h.
|
private |
|
private |
|
inlineprivate |
Definition at line 102 of file coreaudio_backend.h.
| void ARDOUR::CoreMidiPort::reset_parser | ( | ) |
|
inline |
Definition at line 88 of file coreaudio_backend.h.
|
inlinevirtual |
Implements ARDOUR::BackendPort.
Definition at line 82 of file coreaudio_backend.h.
|
private |
Definition at line 95 of file coreaudio_backend.h.
|
private |
Definition at line 97 of file coreaudio_backend.h.
|
private |
|
private |
Definition at line 149 of file coreaudio_backend.h.
|
private |
Definition at line 146 of file coreaudio_backend.h.
|
private |
Definition at line 96 of file coreaudio_backend.h.
|
private |
Definition at line 151 of file coreaudio_backend.h.
|
private |
Definition at line 150 of file coreaudio_backend.h.
|
private |
Definition at line 148 of file coreaudio_backend.h.
|
private |
Definition at line 147 of file coreaudio_backend.h.