music_chunk Struct Reference
A chunk of music data.
More...
#include <chunk.h>
|
Data Fields |
struct music_chunk * | next |
| 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 tag * | tag |
| 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
current bit rate of the source file
Definition at line 49 of file chunk.h.
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.
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: