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 <CodecOpusOgg.h>
template<typename T = int16_t>
class audio_tools::audio_tools::ChannelReducerT< T >
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.
- Template Parameters
-
◆ ChannelReducerT() [1/4]
template<typename T = int16_t>
◆ ChannelReducerT() [2/4]
template<typename T = int16_t>
| ChannelReducerT |
( |
int | channelCountOfTarget, |
|
|
int | channelCountOfSource ) |
|
inline |
◆ ChannelReducerT() [3/4]
template<typename T = int16_t>
◆ ChannelReducerT() [4/4]
template<typename T = int16_t>
| ChannelReducerT |
( |
int | channelCountOfTarget, |
|
|
int | channelCountOfSource ) |
|
inline |
◆ convert() [1/4]
template<typename T = int16_t>
| size_t convert |
( |
uint8_t * | src, |
|
|
size_t | size ) |
|
inlinevirtual |
◆ convert() [2/4]
template<typename T = int16_t>
| size_t convert |
( |
uint8_t * | src, |
|
|
size_t | size ) |
|
inlinevirtual |
◆ convert() [3/4]
template<typename T = int16_t>
| size_t convert |
( |
uint8_t * | target, |
|
|
uint8_t * | src, |
|
|
size_t | size ) |
|
inline |
◆ convert() [4/4]
template<typename T = int16_t>
| size_t convert |
( |
uint8_t * | target, |
|
|
uint8_t * | src, |
|
|
size_t | size ) |
|
inline |
◆ setSourceChannels() [1/2]
template<typename T = int16_t>
| void setSourceChannels |
( |
int | channelCountOfSource | ) |
|
|
inline |
◆ setSourceChannels() [2/2]
template<typename T = int16_t>
| void setSourceChannels |
( |
int | channelCountOfSource | ) |
|
|
inline |
◆ setTargetChannels() [1/2]
template<typename T = int16_t>
| void setTargetChannels |
( |
int | channelCountOfTarget | ) |
|
|
inline |
◆ setTargetChannels() [2/2]
template<typename T = int16_t>
| void setTargetChannels |
( |
int | channelCountOfTarget | ) |
|
|
inline |
◆ from_channels
template<typename T = int16_t>
◆ to_channels
template<typename T = int16_t>
The documentation for this class was generated from the following files: