aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicBuffer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/MusicBuffer.hxx')
-rw-r--r--src/MusicBuffer.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/MusicBuffer.hxx b/src/MusicBuffer.hxx
index d2b23d43a..cf7c90f91 100644
--- a/src/MusicBuffer.hxx
+++ b/src/MusicBuffer.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -23,22 +23,22 @@
#include "util/SliceBuffer.hxx"
#include "thread/Mutex.hxx"
-struct music_chunk;
+struct MusicChunk;
/**
- * An allocator for #music_chunk objects.
+ * An allocator for #MusicChunk objects.
*/
class MusicBuffer {
/** a mutex which protects #buffer */
Mutex mutex;
- SliceBuffer<music_chunk> buffer;
+ SliceBuffer<MusicChunk> buffer;
public:
/**
* Creates a new #MusicBuffer object.
*
- * @param num_chunks the number of #music_chunk reserved in
+ * @param num_chunks the number of #MusicChunk reserved in
* this buffer
*/
MusicBuffer(unsigned num_chunks);
@@ -71,13 +71,13 @@ public:
* @return an empty chunk or nullptr if there are no chunks
* available
*/
- music_chunk *Allocate();
+ MusicChunk *Allocate();
/**
* Returns a chunk to the buffer. It can be reused by
* Allocate() then.
*/
- void Return(music_chunk *chunk);
+ void Return(MusicChunk *chunk);
};
#endif