|
arduino-audio-tools
|
We combine a datastream which consists of multiple channels into less channels. E.g. 2 to 1 The last target channel will contain the combined values of the exceeding source channels. More...
#include <BaseConverter.h>
Public Member Functions | |
| ChannelReducerT ()=default | |
| ChannelReducerT (int channelCountOfTarget, int channelCountOfSource) | |
| size_t | convert (uint8_t *src, size_t size) |
| size_t | convert (uint8_t *target, uint8_t *src, size_t size) |
| void | setSourceChannels (int channelCountOfSource) |
| void | setTargetChannels (int channelCountOfTarget) |
Protected Attributes | |
| int | from_channels |
| int | to_channels |
We combine a datastream which consists of multiple channels into less channels. E.g. 2 to 1 The last target channel will contain the combined values of the exceeding source channels.
| T |
|
default |
|
inline |
Implements BaseConverter.