music_chunk Struct Reference

A chunk of music data. More...

#include <chunk.h>


Data Fields

struct music_chunknext
 the next chunk in a linked list
uint16_t length
 number of bytes stored in this chunk
uint16_t bit_rate
 current bit rate of the source file
float times
 the time stamp within the song
struct tagtag
 An optional tag associated with this chunk (and the following chunks); appears at song boundaries.
char data [CHUNK_SIZE]
 the data (probably PCM)
struct audio_format audio_format


Detailed Description

A chunk of music data.

Its format is defined by the music_pipe_append() caller.

Definition at line 41 of file chunk.h.


Field Documentation

Definition at line 66 of file chunk.h.

current bit rate of the source file

Definition at line 49 of file chunk.h.

char music_chunk::data[CHUNK_SIZE]

the data (probably PCM)

Definition at line 63 of file chunk.h.

number of bytes stored in this chunk

Definition at line 46 of file chunk.h.

the next chunk in a linked list

Definition at line 43 of file chunk.h.

struct tag* music_chunk::tag [read]

An optional tag associated with this chunk (and the following chunks); appears at song boundaries.

The tag object is owned by this chunk, and must be freed when this chunk is deinitialized in music_chunk_free()

Definition at line 60 of file chunk.h.

the time stamp within the song

Definition at line 52 of file chunk.h.


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

Generated on Thu Sep 3 02:29:41 2009 for MPD by  doxygen 1.5.9