|
arduino-audio-tools
|
Converter for n Channels which applies the indicated Filter. More...
#include <BaseConverter.h>
Public Member Functions | |
| ConverterNChannels (int channels) | |
| Default Constructor. | |
| size_t | convert (uint8_t *src, size_t size) |
| int | getChannels () |
| Filter< FT > * | getFilter (int channel) |
| returns the filter for the indicated channel | |
| void | setChannels (int newChannels) |
| void | setFilter (int channel, Filter< FT > *filter) |
| defines the filter for an individual channel - the first channel is 0 | |
Protected Attributes | |
| int | channels = 0 |
| Vector< Filter< FT > * > | filters |
Converter for n Channels which applies the indicated Filter.
| T |
Implements BaseConverter.
returns the filter for the indicated channel
dynamically change the number of channels; existing filters for valid indices are preserved, new slots are initialized to nullptr
defines the filter for an individual channel - the first channel is 0