arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
BufferedArray< T > Class Template Reference

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
 
Streamp_stream = nullptr
 

Detailed Description

template<typename T>
class audio_tools::BufferedArray< T >

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.

Author
Phil Schatzmann

The documentation for this class was generated from the following file: