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

Provides reduced sampling rates through binning. More...

#include <BaseConverter.h>

Inheritance diagram for Bin:
BaseConverter

Public Member Functions

 Bin (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 = false
 
int binSize = 1
 
int bits = 16
 
int channels = 2
 

Detailed Description

Provides reduced sampling rates through binning.


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