Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::pipeline::TranscoderConfig Struct Reference

Converter parameters. More...

#include <config.h>

Collaboration diagram for roc::pipeline::TranscoderConfig:

Public Member Functions

 TranscoderConfig ()
 Initialize config. More...
 
void deduce_defaults ()
 Fill unset values with defaults. More...
 

Public Attributes

audio::SampleSpec input_sample_spec
 Input sample spec. More...
 
audio::SampleSpec output_sample_spec
 Output sample spec. More...
 
audio::ResamplerConfig resampler
 Resampler parameters. More...
 
audio::ProfilerConfig profiler
 Profiler configuration. More...
 
bool enable_profiling
 Profile moving average of frames being written. More...
 

Detailed Description

Converter parameters.

Definition at line 214 of file config.h.

Constructor & Destructor Documentation

◆ TranscoderConfig()

roc::pipeline::TranscoderConfig::TranscoderConfig ( )

Initialize config.

Member Function Documentation

◆ deduce_defaults()

void roc::pipeline::TranscoderConfig::deduce_defaults ( )

Fill unset values with defaults.

Member Data Documentation

◆ enable_profiling

bool roc::pipeline::TranscoderConfig::enable_profiling

Profile moving average of frames being written.

Definition at line 228 of file config.h.

◆ input_sample_spec

audio::SampleSpec roc::pipeline::TranscoderConfig::input_sample_spec

Input sample spec.

Definition at line 216 of file config.h.

◆ output_sample_spec

audio::SampleSpec roc::pipeline::TranscoderConfig::output_sample_spec

Output sample spec.

Definition at line 219 of file config.h.

◆ profiler

audio::ProfilerConfig roc::pipeline::TranscoderConfig::profiler

Profiler configuration.

Definition at line 225 of file config.h.

◆ resampler

audio::ResamplerConfig roc::pipeline::TranscoderConfig::resampler

Resampler parameters.

Definition at line 222 of file config.h.


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