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

Converter for n Channels which applies the indicated Filter. More...

#include <Converter.h>

Inheritance diagram for audio_tools::ConverterNChannels< T, FT >:
audio_tools::BaseConverter< T >

Public Member Functions

 ConverterNChannels (int channels)
 Default Constructor.
 
 ~ConverterNChannels ()
 Destrucotr.
 
size_t convert (uint8_t *src, size_t size)
 
void setFilter (int channel, Filter< FT > *filter)
 defines the filter for an individual channel - the first channel is 0
 
- Public Member Functions inherited from audio_tools::BaseConverter< T >
 BaseConverter (BaseConverter const &)=delete
 
virtual size_t convert (uint8_t *src, size_t size)=0
 
BaseConverteroperator= (BaseConverter const &)=delete
 

Protected Attributes

int channels
 
Filter< FT > ** filters = nullptr
 

Detailed Description

template<typename T, typename FT>
class audio_tools::ConverterNChannels< T, FT >

Converter for n Channels which applies the indicated Filter.

Author
pschatzmann
Template Parameters
T

Member Function Documentation

◆ convert()

template<typename T , typename FT >
size_t audio_tools::ConverterNChannels< T, FT >::convert ( uint8_t *  src,
size_t  size 
)
inlinevirtual

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