ConverterStream Helper class which implements the readBytes with the help of write.
More...
#include <AudioIO.h>
|
bool | active = false |
|
Vector< uint8_t > | buffer {0} |
|
Stream * | p_stream = nullptr |
|
T * | p_transform = nullptr |
|
QueueStream< uint8_t > | result_queue {result_queue_buffer} |
|
RingBuffer< uint8_t > | result_queue_buffer {0} |
|
int | result_queue_factor = 5 |
|
template<class T>
class audio_tools::TransformationReader< T >
ConverterStream Helper class which implements the readBytes with the help of write.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
- Template Parameters
-
T | class name of the original transformer stream |
◆ begin()
void begin |
( |
T * |
transform, |
|
|
Stream * |
source |
|
) |
| |
|
inline |
setup of the TransformationReader class
- Parameters
-
transform | The original transformer stream |
source | The data source of the data to be converted the requested converted bytes |
◆ restoreOutput()
void restoreOutput |
( |
Print * |
out | ) |
|
|
inlineprotected |
restores the original output in the converter class
- Parameters
-
◆ setupOutput()
Makes sure that the data is written to the array
- Parameters
-
- Returns
- original output of the converter class
The documentation for this class was generated from the following file: