19 #ifndef _ardour_circular_buffer_h_
20 #define _ardour_circular_buffer_h_
56 Event (uint8_t
const* buf = 0,
size_t sz = 0);
67 void write (uint8_t
const*,
size_t);
std::atomic< size_t > _idx
std::atomic< size_t > _ack
std::vector< Event > EventList
CircularEventBuffer(size_t size)
void write(uint8_t const *, size_t)
CircularEventBuffer(CircularEventBuffer const &)
CircularSampleBuffer(size_t size)
PBD::RingBuffer< Sample > _rb
CircularSampleBuffer(CircularSampleBuffer const &)
void write(Sample const *, size_t)
bool read(Sample &s_min, Sample &s_max, size_t n_samples)
Event(uint8_t const *buf=0, size_t sz=0)