Ardour
9.0-pre0-582-g084a23a80d
|
#include <circular_buffer.h>
Public Member Functions | |
CircularSampleBuffer (size_t size) | |
void | silence (size_t) |
void | write (Sample const *, size_t) |
bool | read (Sample &s_min, Sample &s_max, size_t n_samples) |
Private Member Functions | |
CircularSampleBuffer (CircularSampleBuffer const &) | |
Private Attributes | |
PBD::RingBuffer< Sample > | _rb |
Endless ringbuffer
Writing never fails, and may flush out old data. This is intended for an oscilloscope waveform view.
Definition at line 37 of file circular_buffer.h.
ARDOUR::CircularSampleBuffer::CircularSampleBuffer | ( | size_t | size | ) |
|
private |
void ARDOUR::CircularSampleBuffer::silence | ( | size_t | ) |
void ARDOUR::CircularSampleBuffer::write | ( | Sample const * | , |
size_t | |||
) |
|
private |
Definition at line 47 of file circular_buffer.h.