Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
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:
roc::core::NonCopyable< T >

Public Member Functions

 ChannelMapper (const ChannelSet &in_chans, const ChannelSet &out_chans)
 Initialize.
 
void map (const sample_t *in_samples, size_t n_in_samples, sample_t *out_samples, size_t n_out_samples)
 Map samples.
 

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: