paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
afh_info Struct Reference

Data Fields

uint32_t chunks_total
 
uint32_t seconds_total
 
char * techinfo
 
struct taginfo tags
 
uint32_t * chunk_table
 
uint32_t max_chunk_size
 
struct timeval chunk_tv
 
uint32_t header_len
 
uint8_t channels
 
uint16_t frequency
 
uint16_t bitrate
 

Field Documentation

◆ chunks_total

uint32_t chunks_total

The number of chunks this audio file contains.

Referenced by afh_get_afhi_txt(), and set_max_chunk_size().

◆ seconds_total

uint32_t seconds_total

The length of the audio file in seconds.

Referenced by afh_get_afhi_txt().

◆ techinfo

char* techinfo

Audio handler specific info about the file.

Referenced by afh_get_afhi_txt(), and clear_afhi().

◆ tags

struct taginfo tags

Id3 tags, vorbis comments, aac tags.

Referenced by afh_get_afhi_txt(), and clear_afhi().

◆ chunk_table

uint32_t* chunk_table

The table that specifies the offset of the individual pieces in the current audio file.

Referenced by afh_get_chunk(), clear_afhi(), and set_max_chunk_size().

◆ max_chunk_size

uint32_t max_chunk_size

Size of the largest chunk, introduced in v0.6.0.

Referenced by afh_get_afhi_txt(), and set_max_chunk_size().

◆ chunk_tv

struct timeval chunk_tv

Period of time between sending data chunks.

Referenced by afh_get_afhi_txt(), and vss_chunk_time().

◆ header_len

uint32_t header_len

The header is needed by senders in case a new client connects in the middle of the stream.

The length of the header defaults to zero which means that this audio format does not need any special header treatment. The audio format handler does not need to set this to zero in this case.

Referenced by afh_get_header(), and set_max_chunk_size().

◆ channels

uint8_t channels

The number of channels.

Referenced by afh_get_afhi_txt().

◆ frequency

uint16_t frequency

Frequency in Hz.

Referenced by afh_get_afhi_txt().

◆ bitrate

uint16_t bitrate

Exact meaning depends on audio format.

Referenced by afh_get_afhi_txt().


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