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

Sink and source config. More...

#include <config.h>

Public Member Functions

 Config ()
 Initialize. More...

Public Attributes

packet::channel_mask_t channels
 Channel mask. More...
size_t sample_rate
 Number of samples per channel per seconds. More...
size_t frame_size
 Number of samples per frame, for all channels. More...
core::nanoseconds_t latency
 Requested input or output latency. More...

Detailed Description

Sink and source config.

Definition at line 22 of file config.h.

Constructor & Destructor Documentation

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


Definition at line 36 of file config.h.

Member Data Documentation

packet::channel_mask_t roc::sndio::Config::channels

Channel mask.

Definition at line 24 of file config.h.

size_t roc::sndio::Config::frame_size

Number of samples per frame, for all channels.

Definition at line 30 of file config.h.

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

Requested input or output latency.

Definition at line 33 of file config.h.

size_t roc::sndio::Config::sample_rate

Number of samples per channel per seconds.

Definition at line 27 of file config.h.

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