diff options
author | Max Kellermann <max@duempel.org> | 2014-08-12 15:56:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-12 15:56:41 +0200 |
commit | c94b4466d52c3c625467312ea565a4685184c517 (patch) | |
tree | 940116e9613eacca9746c7f1dfa729048d34f628 /src/MusicBuffer.hxx | |
parent | 61f9e79ec9921ccf5a5cd53707b8ae161c380bc4 (diff) |
MusicChunk: rename struct to MusicChunk
Diffstat (limited to 'src/MusicBuffer.hxx')
-rw-r--r-- | src/MusicBuffer.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/MusicBuffer.hxx b/src/MusicBuffer.hxx index 84e2af1d1..cf7c90f91 100644 --- a/src/MusicBuffer.hxx +++ b/src/MusicBuffer.hxx @@ -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 |