paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
asf_header_info Struct Reference

Data Fields

int header_len
 
int audio_stream_info_start
 
uint8_t channels
 
uint16_t sample_rate
 
uint16_t block_align
 
uint32_t bit_rate
 
uint32_t flags1
 
uint16_t flags2
 
bool use_exp_vlc
 
bool use_bit_reservoir
 
bool use_variable_block_len
 
uint32_t packet_size
 

Detailed Description

Information contained in an asf audio file header.

Both para_filter and para_afh need to read the header.

Field Documentation

◆ header_len

int header_len

The size of the audio file header.

Referenced by read_asf_header().

◆ audio_stream_info_start

int audio_stream_info_start

Offset of the audio stream info header.

◆ channels

uint8_t channels

Number of channels.

◆ sample_rate

uint16_t sample_rate

One of the 5 possible sample rates.

◆ block_align

uint16_t block_align

Size of one data block.

◆ bit_rate

uint32_t bit_rate

Bits per second.

◆ flags1

uint32_t flags1

Further decoding information (ignored).

◆ flags2

uint16_t flags2

Encodes exp_vlc, bit reservoir, vbl, number of block sizes.

◆ use_exp_vlc

bool use_exp_vlc

Whether exponents are coded with VLC codes.

◆ use_bit_reservoir

bool use_bit_reservoir

If false, a frame is equal to a superframe.

◆ use_variable_block_len

bool use_variable_block_len

Whether blocks are of variable or of constant size.

◆ packet_size

uint32_t packet_size

Obtained from the file properties object.


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