Converter for n Channels which applies the indicated Filter.
More...
#include <BaseConverter.h>
template<typename T, typename FT>
class audio_tools::ConverterNChannels< T, FT >
Converter for n Channels which applies the indicated Filter.
- Author
- pschatzmann
- Template Parameters
-
◆ ConverterNChannels()
template<typename T , typename FT >
◆ convert()
template<typename T , typename FT >
| size_t convert |
( |
uint8_t * |
src, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
◆ getChannels()
template<typename T , typename FT >
◆ getFilter()
template<typename T , typename FT >
| Filter< FT > * getFilter |
( |
int |
channel | ) |
|
|
inline |
returns the filter for the indicated channel
◆ setChannels()
template<typename T , typename FT >
| void setChannels |
( |
int |
newChannels | ) |
|
|
inline |
dynamically change the number of channels; existing filters for valid indices are preserved, new slots are initialized to nullptr
◆ setFilter()
template<typename T , typename FT >
| void setFilter |
( |
int |
channel, |
|
|
Filter< FT > * |
filter |
|
) |
| |
|
inline |
defines the filter for an individual channel - the first channel is 0
◆ channels
template<typename T , typename FT >
◆ filters
template<typename T , typename FT >
The documentation for this class was generated from the following file: