|
arduino-audio-tools
|
Provides reduced sampling rates through binning. More...
#include <BaseConverter.h>
Classes | |
| struct | BinState |
| struct | BinStateT |
Public Member Functions | |
| Bin ()=default | |
| Bin (int binSize, int channels, bool average, int bits_per_sample) | |
| ~Bin () override | |
| void | clear () |
| size_t | convert (uint8_t *src, size_t size) |
| size_t | convert (uint8_t *target, uint8_t *src, size_t size) |
| void | reset () |
| void | setAverage (bool average) |
| void | setBinSize (int binSize) |
| void | setBits (int bits) |
| void | setChannels (int channels) |
Protected Member Functions | |
| bool | isConfigValid () |
| void | resetState () |
Protected Attributes | |
| bool | average = false |
| int | binSize = 1 |
| int | bits = 16 |
| int | channels = 2 |
| BinState * | state = nullptr |
Provides reduced sampling rates through binning.
|
default |
|
inlineoverride |
|
inline |
Implements BaseConverter.
|
inlineprotected |
|
inline |
|
inlineprotected |
|
protected |
|
protected |
|
protected |