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 |
A chunk of music data.
Its format is defined by the music_pipe_append() caller.
Definition at line 41 of file chunk.h.
| uint16_t music_chunk::bit_rate |
| char music_chunk::data[CHUNK_SIZE] |
| uint16_t music_chunk::length |
| struct music_chunk* music_chunk::next |
| struct tag* music_chunk::tag |
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()
| float music_chunk::times |
1.6.3