Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::audio::ChannelMapperWriter Class Reference

Channel mapper writer. Reads frames from nested writer and maps them to another channel mask. More...

#include <channel_mapper_writer.h>

Inheritance diagram for roc::audio::ChannelMapperWriter:
roc::audio::IFrameWriter roc::core::NonCopyable< T > roc::core::ListNode roc::core::NonCopyable< ListNode >

Public Member Functions

 ChannelMapperWriter (IFrameWriter &writer, core::BufferFactory< sample_t > &buffer_factory, const SampleSpec &in_spec, const SampleSpec &out_spec)
 Initialize.
 
bool is_valid () const
 Check if the object was succefully constructed.
 
virtual void write (Frame &frame)
 Write audio frame.
 
- Public Member Functions inherited from roc::core::ListNode
ListNodeDatalist_node_data () const
 Get list node data.
 

Detailed Description

Channel mapper writer. Reads frames from nested writer and maps them to another channel mask.

Definition at line 28 of file channel_mapper_writer.h.

Constructor & Destructor Documentation

◆ ChannelMapperWriter()

roc::audio::ChannelMapperWriter::ChannelMapperWriter ( IFrameWriter & writer,
core::BufferFactory< sample_t > & buffer_factory,
const SampleSpec & in_spec,
const SampleSpec & out_spec )

Initialize.

Member Function Documentation

◆ is_valid()

bool roc::audio::ChannelMapperWriter::is_valid ( ) const

Check if the object was succefully constructed.

◆ write()

virtual void roc::audio::ChannelMapperWriter::write ( Frame & frame)
virtual

Write audio frame.

Implements roc::audio::IFrameWriter.


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