|
arduino-audio-tools
|
Provides reduced sampling rates through binning. More...
#include <BaseConverter.h>
Public Member Functions | |
| Bin (int binSize, int channels, bool average, int bits_per_sample) | |
| size_t | convert (uint8_t *src, size_t size) |
| size_t | convert (uint8_t *target, uint8_t *src, size_t size) |
| void | setAverage (bool average) |
| void | setBinSize (int binSize) |
| void | setBits (int bits) |
| void | setChannels (int channels) |
Protected Attributes | |
| bool | average = false |
| int | binSize = 1 |
| int | bits = 16 |
| int | channels = 2 |
Provides reduced sampling rates through binning.
|
inlinevirtual |
Implements BaseConverter.