arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ChannelMixer< T, SumT > Class Template Reference

We mix all input channels in a datastream. E.g. if we have stereo input data we end up with 2 identical mono channels. More...

#include <BaseConverter.h>

Inheritance diagram for ChannelMixer< T, SumT >:
BaseConverter

Public Member Functions

 ChannelMixer (int channels=2)
 
size_t convert (uint8_t *data, size_t size)
 

Protected Attributes

int channels = 2
 

Detailed Description

template<typename T = int16_t, typename SumT = float>
class audio_tools::ChannelMixer< T, SumT >

We mix all input channels in a datastream. E.g. if we have stereo input data we end up with 2 identical mono channels.

Author
Phil Schatzmann
Template Parameters
T

Member Function Documentation

◆ convert()

template<typename T = int16_t, typename SumT = float>
size_t convert ( uint8_t *  data,
size_t  size 
)
inlinevirtual

Implements BaseConverter.


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