Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::pipeline::ReceiverCommonConfig Struct Reference

Receiver common parameters. More...

#include <config.h>

Public Attributes

audio::SampleSpec output_sample_spec
 Output sample spec.
 
core::nanoseconds_t internal_frame_length
 Duration of the internal frames, in nanoseconds.
 
bool resampling
 Perform resampling to compensate sender and receiver frequency difference.
 
bool timing
 Constrain receiver speed using a CPU timer according to the sample rate.
 
bool poisoning
 Fill uninitialized data with large values to make them more noticeable.
 
bool profiling
 Profile moving average of frames being written.
 
audio::ProfilerConfig profiler_config
 Profiler configuration.
 
bool beeping
 Insert weird beeps instead of silence on packet loss.
 

Detailed Description

Receiver common parameters.

Remarks
Defines receiver parameters common for all sessions.

Definition at line 210 of file config.h.

Constructor & Destructor Documentation

◆ ReceiverCommonConfig()

roc::pipeline::ReceiverCommonConfig::ReceiverCommonConfig ( )
inline

Definition at line 235 of file config.h.

Member Data Documentation

◆ beeping

bool roc::pipeline::ReceiverCommonConfig::beeping

Insert weird beeps instead of silence on packet loss.

Definition at line 233 of file config.h.

◆ internal_frame_length

core::nanoseconds_t roc::pipeline::ReceiverCommonConfig::internal_frame_length

Duration of the internal frames, in nanoseconds.

Definition at line 215 of file config.h.

◆ output_sample_spec

audio::SampleSpec roc::pipeline::ReceiverCommonConfig::output_sample_spec

Output sample spec.

Definition at line 212 of file config.h.

◆ poisoning

bool roc::pipeline::ReceiverCommonConfig::poisoning

Fill uninitialized data with large values to make them more noticeable.

Definition at line 224 of file config.h.

◆ profiler_config

audio::ProfilerConfig roc::pipeline::ReceiverCommonConfig::profiler_config

Profiler configuration.

Definition at line 230 of file config.h.

◆ profiling

bool roc::pipeline::ReceiverCommonConfig::profiling

Profile moving average of frames being written.

Definition at line 227 of file config.h.

◆ resampling

bool roc::pipeline::ReceiverCommonConfig::resampling

Perform resampling to compensate sender and receiver frequency difference.

Definition at line 218 of file config.h.

◆ timing

bool roc::pipeline::ReceiverCommonConfig::timing

Constrain receiver speed using a CPU timer according to the sample rate.

Definition at line 221 of file config.h.


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