summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 10:52:28 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:35:47 +0200
commitbdfa709298f0d64e6d9f1ca5e2de45bda9d9ebaa (patch)
tree67569e5a163fdd99de325b64fab1bd5c0772dc87
parentc860412cddfb96004ded3bc0055c16308b5bc168 (diff)
made API of AudioCacheEventHandler's getters more consistent
-rw-r--r--src/audiocacheeventhandler.cc2
-rw-r--r--src/audiocacheeventhandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audiocacheeventhandler.cc b/src/audiocacheeventhandler.cc
index 8ceabc8..a0261a5 100644
--- a/src/audiocacheeventhandler.cc
+++ b/src/audiocacheeventhandler.cc
@@ -186,7 +186,7 @@ void AudioCacheEventHandler::setChunkSize(size_t chunksize)
this->chunksize = chunksize;
}
-size_t AudioCacheEventHandler::chunkSize()
+size_t AudioCacheEventHandler::getChunkSize() const
{
return chunksize;
}
diff --git a/src/audiocacheeventhandler.h b/src/audiocacheeventhandler.h
index 87cb3eb..4c0e9d9 100644
--- a/src/audiocacheeventhandler.h
+++ b/src/audiocacheeventhandler.h
@@ -74,7 +74,7 @@ public:
void pushCloseEvent(cacheid_t id);
void setChunkSize(size_t chunksize);
- size_t chunkSize();
+ size_t getChunkSize() const;
AudioCacheFile& openFile(const std::string& filename);