Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Channel mapper. More...
#include <channel_mapper.h>
Public Member Functions | |
ChannelMapper (const ChannelSet &in_chans, const ChannelSet &out_chans) | |
Initialize. More... | |
void | map (const sample_t *in_samples, size_t n_in_samples, sample_t *out_samples, size_t n_out_samples) |
Map samples. More... | |
Channel mapper.
Converts between input and output samples with specified channel sets.
Supports converting between:
Definition at line 30 of file channel_mapper.h.
roc::audio::ChannelMapper::ChannelMapper | ( | const ChannelSet & | in_chans, |
const ChannelSet & | out_chans | ||
) |
Initialize.
void roc::audio::ChannelMapper::map | ( | const sample_t * | in_samples, |
size_t | n_in_samples, | ||
sample_t * | out_samples, | ||
size_t | n_out_samples | ||
) |
Map samples.