Ardour
9.0-pre0-582-g084a23a80d
|
#include <rt_midibuffer.h>
Classes | |
struct | Blob |
struct | Item |
class | WriteProtectRender |
Public Member Functions | |
RTMidiBufferBase () | |
~RTMidiBufferBase () | |
void | convert (RTMidiBufferBase< Temporal::Beats, Temporal::Beats > &) |
void | clear () |
void | resize (size_t) |
size_t | size () const |
bool | empty () const |
DistanceType | span () const |
uint32_t | write (TimeType time, Evoral::EventType type, uint32_t size, const uint8_t *buf) |
uint32_t | read (MidiBuffer &dst, TimeType start, TimeType end, MidiNoteTracker &tracker, DistanceType offset=0) |
void | track (MidiStateTracker &, TimeType start, TimeType end) |
void | dump (uint32_t) |
void | reverse () |
bool | reversed () const |
Item const & | operator[] (size_t n) const |
uint8_t const * | bytes (Item const &item, uint32_t &size) const |
void | shift (DistanceType distance) |
void | track_state (TimeType when, MidiStateTracker &mst) const |
Public Member Functions inherited from Evoral::EventSink< TimeType > | |
virtual | ~EventSink () |
Private Member Functions | |
uint32_t | alloc_blob (uint32_t size) |
uint32_t | store_blob (uint32_t size, uint8_t const *data) |
Private Attributes | |
size_t | _size |
size_t | _capacity |
Item * | _data |
bool | _reversed |
uint32_t | _pool_size |
uint32_t | _pool_capacity |
uint8_t * | _pool |
Glib::Threads::RWLock | _lock |
Friends | |
struct | WriteProtectRender |
template<typename T , typename D > | |
class | RTMidiBufferBase |
Definition at line 43 of file rt_midibuffer.h.
ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::RTMidiBufferBase | ( | ) |
ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::~RTMidiBufferBase | ( | ) |
|
private |
|
inline |
Definition at line 91 of file rt_midibuffer.h.
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::clear | ( | ) |
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::convert | ( | RTMidiBufferBase< Temporal::Beats, Temporal::Beats > & | ) |
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::dump | ( | uint32_t | ) |
|
inline |
Definition at line 64 of file rt_midibuffer.h.
|
inline |
Definition at line 84 of file rt_midibuffer.h.
uint32_t ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::read | ( | MidiBuffer & | dst, |
TimeType | start, | ||
TimeType | end, | ||
MidiNoteTracker & | tracker, | ||
DistanceType | offset = 0 |
||
) |
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::resize | ( | size_t | ) |
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::reverse | ( | ) |
bool ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::reversed | ( | ) | const |
|
inline |
Definition at line 108 of file rt_midibuffer.h.
|
inline |
Definition at line 63 of file rt_midibuffer.h.
DistanceType ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::span | ( | ) | const |
|
private |
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::track | ( | MidiStateTracker & | , |
TimeType | start, | ||
TimeType | end | ||
) |
void ARDOUR::RTMidiBufferBase< TimeType, DistanceType >::track_state | ( | TimeType | when, |
MidiStateTracker & | mst | ||
) | const |
|
virtual |
Implements Evoral::EventSink< TimeType >.
|
friend |
Definition at line 119 of file rt_midibuffer.h.
|
friend |
Definition at line 117 of file rt_midibuffer.h.
|
private |
Definition at line 126 of file rt_midibuffer.h.
|
private |
Definition at line 127 of file rt_midibuffer.h.
|
private |
Definition at line 137 of file rt_midibuffer.h.
|
private |
Definition at line 135 of file rt_midibuffer.h.
|
private |
Definition at line 134 of file rt_midibuffer.h.
|
private |
Definition at line 133 of file rt_midibuffer.h.
|
private |
Definition at line 128 of file rt_midibuffer.h.
|
private |
Definition at line 125 of file rt_midibuffer.h.