paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
spx_header_info Struct Reference

Data Fields

void * state
 
int frame_size
 
spx_int32_t sample_rate
 
int bitrate
 
int nframes
 
int channels
 
SpeexStereoState stereo
 
int extra_headers
 
const SpeexMode * mode
 

Detailed Description

Information extracted from the first ogg packet.

It contains tech data but not the content of the attached comment tags.

Field Documentation

◆ state

void* state

Holds the state of the decoder.

Referenced by spx_process_header().

◆ frame_size

int frame_size

Extracted from header.

◆ sample_rate

spx_int32_t sample_rate

Current sample rate in Hz.

◆ bitrate

int bitrate

Current bitrate used by the decoder.

◆ nframes

int nframes

Number of frames per packet, extracted from header.

◆ channels

int channels

The number of channels of the current stream.

◆ stereo

SpeexStereoState stereo

Only needed for stereo streams.

◆ extra_headers

int extra_headers

Must be skipped during decode.

◆ mode

const SpeexMode* mode

Narrow/wide/ultrawide band, bitstream version.

Referenced by spx_process_header().


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