Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sndio::Config Struct Reference

Sink and source config. More...

#include <config.h>

Collaboration diagram for roc::sndio::Config:

Public Member Functions

 Config ()
 Initialize. More...
 

Public Attributes

audio::SampleSpec sample_spec
 Sample spec. More...
 
core::nanoseconds_t frame_length
 Duration of the internal frames, in nanoseconds. More...
 
core::nanoseconds_t latency
 Requested input or output latency. More...
 

Detailed Description

Sink and source config.

Definition at line 29 of file config.h.

Constructor & Destructor Documentation

◆ Config()

roc::sndio::Config::Config ( )
inline

Initialize.

Definition at line 40 of file config.h.

Member Data Documentation

◆ frame_length

core::nanoseconds_t roc::sndio::Config::frame_length

Duration of the internal frames, in nanoseconds.

Definition at line 34 of file config.h.

◆ latency

core::nanoseconds_t roc::sndio::Config::latency

Requested input or output latency.

Definition at line 37 of file config.h.

◆ sample_spec

audio::SampleSpec roc::sndio::Config::sample_spec

Sample spec.

Definition at line 31 of file config.h.


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