MusicChunk: rename struct to MusicChunk
This commit is contained in:
@@ -387,7 +387,7 @@ decoder_timestamp(Decoder &decoder, double t)
|
||||
static DecoderCommand
|
||||
do_send_tag(Decoder &decoder, const Tag &tag)
|
||||
{
|
||||
struct music_chunk *chunk;
|
||||
MusicChunk *chunk;
|
||||
|
||||
if (decoder.chunk != nullptr) {
|
||||
/* there is a partial chunk - flush it, we want the
|
||||
@@ -487,7 +487,7 @@ decoder_data(Decoder &decoder,
|
||||
}
|
||||
|
||||
while (length > 0) {
|
||||
struct music_chunk *chunk;
|
||||
MusicChunk *chunk;
|
||||
bool full;
|
||||
|
||||
chunk = decoder.GetChunk();
|
||||
|
@@ -144,7 +144,7 @@ struct DecoderControl {
|
||||
|
||||
float total_time;
|
||||
|
||||
/** the #music_chunk allocator */
|
||||
/** the #MusicChunk allocator */
|
||||
MusicBuffer *buffer;
|
||||
|
||||
/**
|
||||
|
@@ -56,7 +56,7 @@ need_chunks(DecoderControl &dc)
|
||||
return dc.command;
|
||||
}
|
||||
|
||||
struct music_chunk *
|
||||
MusicChunk *
|
||||
Decoder::GetChunk()
|
||||
{
|
||||
DecoderCommand cmd;
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include "util/Error.hxx"
|
||||
|
||||
class PcmConvert;
|
||||
struct MusicChunk;
|
||||
struct DecoderControl;
|
||||
struct Tag;
|
||||
|
||||
@@ -76,7 +77,7 @@ struct Decoder {
|
||||
Tag *decoder_tag;
|
||||
|
||||
/** the chunk currently being written to */
|
||||
struct music_chunk *chunk;
|
||||
MusicChunk *chunk;
|
||||
|
||||
ReplayGainInfo replay_gain_info;
|
||||
|
||||
@@ -112,7 +113,7 @@ struct Decoder {
|
||||
*
|
||||
* @return the chunk, or NULL if we have received a decoder command
|
||||
*/
|
||||
music_chunk *GetChunk();
|
||||
MusicChunk *GetChunk();
|
||||
|
||||
/**
|
||||
* Flushes the current chunk.
|
||||
|
Reference in New Issue
Block a user