|
arduino-audio-tools
|
Class which is usfull ot provide incremental data access e.g. for EdgeImpulse which request data with an offset and length starting from 0 up to the buffer length, restarting at 0 again. More...
#include <Buffers.h>
Public Member Functions | |
| BufferedArray (Stream &input, int len) | |
| int16_t * | getValues (size_t offset, size_t length) |
Protected Attributes | |
| int | actual_end = -1 |
| Vector< T > | array |
| int | last_end = 0 |
| Stream * | p_stream = nullptr |
Class which is usfull ot provide incremental data access e.g. for EdgeImpulse which request data with an offset and length starting from 0 up to the buffer length, restarting at 0 again.