arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ConverterAutoCenterT< T > Class Template Reference

Makes sure that the avg of the signal is set to 0. More...

#include <BaseConverter.h>

Inheritance diagram for ConverterAutoCenterT< T >:
BaseConverter

Public Member Functions

 ConverterAutoCenterT (int channels=2, bool isDynamic=false)
 
size_t convert (uint8_t(*src), size_t byte_count)
 

Protected Member Functions

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}
 

Detailed Description

template<typename T>
class audio_tools::ConverterAutoCenterT< T >

Makes sure that the avg of the signal is set to 0.

Template Parameters
T

The documentation for this class was generated from the following file: