Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio Namespace Reference

Audio frames and audio processing. More...

Classes

class  Depacketizer
 Depacketizer. More...
 
class  Frame
 Audio frame. More...
 
class  FreqEstimator
 Evaluates sender's frequency to receivers's frequency ratio. More...
 
class  IFrameDecoder
 Audio frame decoder interface. More...
 
class  IFrameEncoder
 Audio frame encoder interface. More...
 
class  IReader
 Audio reader interface. More...
 
class  IWriter
 Audio writer interface. More...
 
class  LatencyMonitor
 Session latency monitor. More...
 
struct  LatencyMonitorConfig
 Parameters for latency monitor. More...
 
class  Mixer
 Mixer. Mixes multiple input streams into one output stream. More...
 
class  NullWriter
 Null writer. More...
 
class  Packetizer
 Packetizer. More...
 
class  PCMDecoder
 PCM decoder. More...
 
class  PCMEncoder
 PCM encoder. More...
 
struct  PCMFuncs
 PCM function table. More...
 
class  PoisonReader
 Poisons audio frames before reading them. More...
 
class  PoisonWriter
 Poisons audio frames after writing them. More...
 
class  ProfilingWriter
 Profiling writer. More...
 
class  Resampler
 Resamples audio stream with non-integer dynamically changing factor. More...
 
struct  ResamplerConfig
 Resampler parameters. More...
 
class  ResamplerReader
 Resamples audio stream with non-integer dynamically changing factor. More...
 
class  ResamplerWriter
 Resamples audio stream with non-integer dynamically changing factor. More...
 
class  Watchdog
 Watchdog. More...
 
struct  WatchdogConfig
 Watchdog parameters. More...
 

Typedefs

typedef float sample_t
 Audio sample. More...
 

Enumerations

enum  ResamplerProfile { ResamplerProfile_Low, ResamplerProfile_Medium, ResamplerProfile_High }
 Resampler parameters presets. More...
 

Functions

ResamplerConfig resampler_profile (ResamplerProfile profile)
 Get parameters for given resampler profile. More...
 

Variables

const sample_t fe_decim_h [fe_decim_len]
 Impulse response of decimation filter with factor of 10. More...
 
const sample_t fe_decim_h_gain
 Filters gain, sum(fe_decim_h). More...
 
const PCMFuncs PCM_int16_1ch
 PCM functions for 16-bit 1-channel audio. More...
 
const PCMFuncs PCM_int16_2ch
 PCM functions for 16-bit 2-channel audio. More...
 
const sample_t SampleMax
 Maximum possible value of a sample. More...
 
const sample_t SampleMin
 Minimum possible value of a sample. More...
 

Detailed Description

Audio frames and audio processing.

Typedef Documentation

typedef float roc::audio::sample_t

Audio sample.

Definition at line 21 of file units.h.

Enumeration Type Documentation

Resampler parameters presets.

Enumerator
ResamplerProfile_Low 

Low quality, fast speed.

ResamplerProfile_Medium 

Medium quality, medium speed.

ResamplerProfile_High 

Hight quality, low speed.

Definition at line 21 of file resampler_profile.h.

Function Documentation

ResamplerConfig roc::audio::resampler_profile ( ResamplerProfile  profile)

Get parameters for given resampler profile.

Variable Documentation

const sample_t roc::audio::fe_decim_h[fe_decim_len]

Impulse response of decimation filter with factor of 10.

const sample_t roc::audio::fe_decim_h_gain

Filters gain, sum(fe_decim_h).

const PCMFuncs roc::audio::PCM_int16_1ch

PCM functions for 16-bit 1-channel audio.

const PCMFuncs roc::audio::PCM_int16_2ch

PCM functions for 16-bit 2-channel audio.

const sample_t roc::audio::SampleMax

Maximum possible value of a sample.

const sample_t roc::audio::SampleMin

Minimum possible value of a sample.