aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicChunk.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-12 15:56:41 +0200
committerMax Kellermann <max@duempel.org>2014-08-12 15:56:41 +0200
commitc94b4466d52c3c625467312ea565a4685184c517 (patch)
tree940116e9613eacca9746c7f1dfa729048d34f628 /src/MusicChunk.cxx
parent61f9e79ec9921ccf5a5cd53707b8ae161c380bc4 (diff)
downloadmpd-c94b4466d52c3c625467312ea565a4685184c517.tar.gz
mpd-c94b4466d52c3c625467312ea565a4685184c517.tar.xz
mpd-c94b4466d52c3c625467312ea565a4685184c517.zip
MusicChunk: rename struct to MusicChunk
Diffstat (limited to 'src/MusicChunk.cxx')
-rw-r--r--src/MusicChunk.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/MusicChunk.cxx b/src/MusicChunk.cxx
index 899163485..91856709e 100644
--- a/src/MusicChunk.cxx
+++ b/src/MusicChunk.cxx
@@ -24,14 +24,14 @@
#include <assert.h>
-music_chunk::~music_chunk()
+MusicChunk::~MusicChunk()
{
delete tag;
}
#ifndef NDEBUG
bool
-music_chunk::CheckFormat(const AudioFormat other_format) const
+MusicChunk::CheckFormat(const AudioFormat other_format) const
{
assert(other_format.IsValid());
@@ -40,8 +40,8 @@ music_chunk::CheckFormat(const AudioFormat other_format) const
#endif
WritableBuffer<void>
-music_chunk::Write(const AudioFormat af,
- float data_time, uint16_t _bit_rate)
+MusicChunk::Write(const AudioFormat af,
+ float data_time, uint16_t _bit_rate)
{
assert(CheckFormat(af));
assert(length == 0 || audio_format.IsValid());
@@ -67,7 +67,7 @@ music_chunk::Write(const AudioFormat af,
}
bool
-music_chunk::Expand(const AudioFormat af, size_t _length)
+MusicChunk::Expand(const AudioFormat af, size_t _length)
{
const size_t frame_size = af.GetFrameSize();