We are managing a 2 collections of memory arrays: One for the available buffers which can be requested to record data and the buffers of filled data which need to be processed (e.g. stored to a SD drive)
More...
#include <Buffers.h>
|
| | Buffers (int buffer_count, int buffer_length, bool blocking=true, bool synchronized=true) |
| | Construct a new Buffers object. More...
|
| |
|
| ~Buffers () |
| | Destructor.
|
| |
|
virtual void | addEmpty (T *buffer) |
| | Makes the buffer available as empty.
|
| |
|
virtual void | addFull (T *buffer) |
| | Adds the buffer to the list of available data.
|
| |
|
virtual int | bufferLength () |
| | Provides the length of each buffer.
|
| |
|
virtual T * | getEmpty () |
| | Retrieves an empty buffer.
|
| |
|
virtual T * | getFull () |
| | Retrieves the next available data.
|
| |
|
|
float | amplifier |
| |
|
int | buffer_count |
| |
|
int | buffer_length |
| |
|
T | clip |
| |
|
Queue< T * > * | emptyBuffers |
| |
|
Queue< T * > * | filledBuffers |
| |
template<class T>
class pico_arduino::Buffers< T >
We are managing a 2 collections of memory arrays: One for the available buffers which can be requested to record data and the buffers of filled data which need to be processed (e.g. stored to a SD drive)
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ Buffers()
Construct a new Buffers object.
- Parameters
-
| buffer_count | |
| buffer_length | |
| blocking | |
| synchronized | |
The documentation for this class was generated from the following file: