|
arduino-audio-tools
|
Provides reduced sampling rates. More...
#include <BaseConverter.h>
Public Member Functions | |
| DecimateT (int factor, int channels) | |
| void | clear () |
| size_t | convert (uint8_t *src, size_t size) |
| size_t | convert (uint8_t *target, uint8_t *src, size_t size) |
| operator bool () | |
| void | reset () |
| void | setChannels (int channels) |
| Defines the number of channels. | |
| void | setFactor (int factor) |
| Sets the factor: e.g. with 4 we keep every fourth sample. | |
Protected Member Functions | |
| bool | isConfigValid () |
| void | resetState () |
Protected Attributes | |
| int | channels = 2 |
| uint16_t | count = 0 |
| int | factor = 1 |
Implements BaseConverter.
Defines the number of channels.
Sets the factor: e.g. with 4 we keep every fourth sample.