arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
ChannelBinDiff Class Reference

Provides combination of binning and subtracting channels. More...

#include <BaseConverter.h>

Inheritance diagram for ChannelBinDiff:
BaseConverter

Public Member Functions

 ChannelBinDiff (int binSize, int channels, bool average, int bits_per_sample)
 
size_t convert (uint8_t *src, size_t size)
 
size_t convert (uint8_t *target, uint8_t *src, size_t size)
 
void setAverage (bool average)
 
void setBinSize (int binSize)
 
void setBits (int bits)
 
void setChannels (int channels)
 

Protected Attributes

bool average = true
 
int binSize = 4
 
int bits = 16
 
int channels = 2
 

Detailed Description

Provides combination of binning and subtracting channels.

Author
Urs Utzinger
Template Parameters
T

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