Provides a reduced sampling rate by taking a sample at every factor location (ingoring factor-1 samples)
More...
#include <BaseConverter.h>
|
|
| Decimate (int factor, int channels, int bits_per_sample) |
| |
|
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 | setBits (int bits) |
| |
|
void | setChannels (int channels) |
| | Defines the number of channels.
|
| |
|
void | setFactor (int factor) |
| | Sets the factor: e.g. with 4 we keep every forth sample.
|
| |
|
|
bool | isConfigValid () |
| |
|
void | resetState () |
| |
|
|
int | bits = 16 |
| |
|
int | channels = 2 |
| |
|
int | factor = 1 |
| |
|
DecimateState * | state = nullptr |
| |
Provides a reduced sampling rate by taking a sample at every factor location (ingoring factor-1 samples)
◆ convert()
| size_t convert |
( |
uint8_t * |
src, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: