MusicChunk: rename struct to MusicChunk

This commit is contained in:
Max Kellermann
2014-08-12 15:56:41 +02:00
parent 61f9e79ec9
commit c94b4466d5
16 changed files with 75 additions and 74 deletions

View File

@@ -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();

View File

@@ -144,7 +144,7 @@ struct DecoderControl {
float total_time;
/** the #music_chunk allocator */
/** the #MusicChunk allocator */
MusicBuffer *buffer;
/**

View File

@@ -56,7 +56,7 @@ need_chunks(DecoderControl &dc)
return dc.command;
}
struct music_chunk *
MusicChunk *
Decoder::GetChunk()
{
DecoderCommand cmd;

View File

@@ -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.