|
| EventRingBuffer (size_t capacity) |
|
size_t | capacity () const |
|
bool | peek (uint8_t *, size_t size) |
|
uint32_t | write (Time time, Evoral::EventType type, uint32_t size, const uint8_t *buf) |
|
bool | read (Time *time, Evoral::EventType *type, uint32_t *size, uint8_t *buf) |
|
| RingBufferNPT (size_t sz) |
|
virtual | ~RingBufferNPT () |
|
void | reset () |
|
void | set (size_t r, size_t w) |
|
size_t | read (uint8_t *dest, size_t cnt) |
|
size_t | write (const uint8_t *src, size_t cnt) |
|
size_t | write_one (const uint8_t src) |
|
void | get_read_vector (rw_vector *) |
|
void | get_write_vector (rw_vector *) |
|
void | decrement_read_ptr (size_t cnt) |
|
void | increment_read_ptr (size_t cnt) |
|
void | increment_write_ptr (size_t cnt) |
|
size_t | write_space () |
|
size_t | read_space () |
|
uint8_t * | buffer () |
|
size_t | get_write_ptr () const |
|
size_t | get_read_ptr () const |
|
size_t | bufsize () const |
|
virtual | ~EventSink () |
|
template<typename Time>
class ARDOUR::EventRingBuffer< Time >
A RingBuffer of events (generic time-stamped binary "blobs").
This packs a timestamp, size, and size bytes of data flat into the buffer. Useful for MIDI events, OSC messages, etc.
Note: the uint8_t template argument to RingBufferNPT<> indicates "byte
oriented data", not anything particular linked to MIDI or any other possible interpretation of uint8_t.
Definition at line 42 of file event_ring_buffer.h.