|
arduino-audio-tools
|
Provides combination of binning and subtracting channels. More...
#include <BaseConverter.h>
Classes | |
| struct | ChannelBinDiffState |
| struct | ChannelBinDiffStateT |
Public Member Functions | |
| ChannelBinDiff ()=default | |
| ChannelBinDiff (int binSize, int channels, bool average, int bits_per_sample) | |
| ~ChannelBinDiff () 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 = true |
| int | binSize = 4 |
| int | bits = 16 |
| int | channels = 2 |
| ChannelBinDiffState * | state = nullptr |
Provides combination of binning and subtracting channels.
| T |
|
default |
|
inline |
|
inlineoverride |
|
inline |
Implements BaseConverter.
|
inlineprotected |
|
inline |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |