|
arduino-audio-tools
|
Makes sure that the avg of the signal is set to 0. More...
#include <BaseConverter.h>
Public Member Functions | |
| ConverterAutoCenterT (int channels=2, bool isDynamic=false) | |
| void | clear () |
| size_t | convert (uint8_t(*src), size_t byte_count) override |
| void | reset () |
Protected Member Functions | |
| void | resetState () |
| void | setup (T *src, size_t size) |
Protected Attributes | |
| int | channels |
| bool | is_dynamic |
| bool | is_setup = false |
| float | left = 0.0 |
| Vector< float > | offset_from {0} |
| Vector< float > | offset_step {0} |
| Vector< float > | offset_to {0} |
| float | right = 0.0 |
| Vector< float > | total {0} |
Makes sure that the avg of the signal is set to 0.
| T |
|
inline |
Implements BaseConverter.