paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
spx_header_info Struct Reference

Information extracted from the first ogg packet. More...

#include <spx.h>

Data Fields

void * state
 Holds the state of the decoder. More...
 
int frame_size
 Extracted from header. More...
 
spx_int32_t sample_rate
 Current sample rate in Hz. More...
 
int bitrate
 Current bitrate used by the decoder. More...
 
int nframes
 Number of frames per packet, extracted from header. More...
 
int channels
 The number of channels of the current stream. More...
 
SpeexStereoState stereo
 Only needed for stereo streams. More...
 
int extra_headers
 Must be skipped during decode. More...
 
const SpeexMode * mode
 Narrow/wide/ultrawide band, bitstream version. More...
 

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: