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