paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
asf_header_info Struct Reference

Information contained in an asf audio file header. More...

#include <wma.h>

Data Fields

int header_len
 The size of the audio file header. More...
 
int audio_stream_info_start
 Offset of the audio stream info header. More...
 
uint8_t channels
 Number of channels. More...
 
uint16_t sample_rate
 One of the 5 possible sample rates. More...
 
uint16_t block_align
 Size of one data block. More...
 
uint32_t bit_rate
 Bits per second. More...
 
uint32_t flags1
 Further decoding information (ignored). More...
 
uint16_t flags2
 Encodes exp_vlc, bit reservoir, vbl, number of block sizes. More...
 
bool use_exp_vlc
 Whether exponents are coded with VLC codes. More...
 
bool use_bit_reservoir
 If false, a frame is equal to a superframe. More...
 
bool use_variable_block_len
 Whether blocks are of variable or of constant size. More...
 
uint32_t packet_size
 Obtained from the file properties object. More...
 

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: