Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::ChannelMapper Class Reference

Channel mapper. Converts between frames with specified channel masks. More...

#include <channel_mapper.h>

Inheritance diagram for roc::audio::ChannelMapper:
Collaboration diagram for roc::audio::ChannelMapper:

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...
 

Detailed Description

Channel mapper. Converts between frames with specified channel masks.

Definition at line 26 of file channel_mapper.h.

Constructor & Destructor Documentation

◆ ChannelMapper()

roc::audio::ChannelMapper::ChannelMapper ( const ChannelSet in_chans,
const ChannelSet out_chans 
)

Initialize.

Member Function Documentation

◆ map()

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.


The documentation for this class was generated from the following file: