paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
opus_header Struct Reference

Data Fields

int version
 
int channels
 
uint16_t preskip
 
uint32_t input_sample_rate
 
uint16_t gain
 
int nb_streams
 
int nb_coupled
 
unsigned char stream_map [255]
 

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: