paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
opus_header Struct Reference

Various bits stored in the header of an opus stream. More...

#include <opus_common.h>

Data Fields

int version
 lower 4 bits of the version byte, must be 0. More...
 
int channels
 1..255 More...
 
uint16_t preskip
 Number of bytes to skip from the beginning. More...
 
uint32_t input_sample_rate
 Sample rate of the input stream, used by the audio format handler. More...
 
uint16_t gain
 In dB, should be zero whenever possible. More...
 
int nb_streams
 Number of logical streams (usually 1). More...
 
int nb_coupled
 Number of streams to decode as 2 channel streams. More...
 
unsigned char stream_map [255]
 Mapping from coded channels to output channels. More...
 

Detailed Description

Various bits stored in the header of an opus stream.

Field Documentation

◆ version

int version

lower 4 bits of the version byte, must be 0.

◆ channels

int channels

1..255

◆ preskip

uint16_t preskip

Number of bytes to skip from the beginning.

◆ input_sample_rate

uint32_t input_sample_rate

Sample rate of the input stream, used by the audio format handler.

◆ gain

uint16_t gain

In dB, should be zero whenever possible.

◆ nb_streams

int nb_streams

Number of logical streams (usually 1).

◆ nb_coupled

int nb_coupled

Number of streams to decode as 2 channel streams.

◆ stream_map

unsigned char stream_map[255]

Mapping from coded channels to output channels.


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