Data Fields |
| struct music_chunk * | next |
| | the next chunk in a linked list
|
| struct music_chunk * | other |
| | An optional chunk which should be mixed into this chunk.
|
| float | mix_ratio |
| | The current mix ratio for cross-fading: 1.0 means play 100% of this chunk, 0.0 means play 100% of the "other" chunk.
|
| 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.
|
| struct replay_gain_info | replay_gain_info |
| | Replay gain information associated with this chunk.
|
| unsigned | replay_gain_serial |
| | A serial number for checking if replay gain info has changed since the last chunk.
|
| 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 43 of file chunk.h.