summaryrefslogtreecommitdiff
path: root/src/audiofile.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-29 20:49:18 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-29 20:49:18 +0100
commitaa635eb8da9804488513d1f3d422e4810e611bb8 (patch)
tree35db06cfe32f360d974503ff8c7562d1ab75f322 /src/audiofile.cc
parent67a23a559e9707f9caf46716df30a8bf71bba9a7 (diff)
parent9ebd9aa0c3429f896e6c41f279b570ba36aec674 (diff)
Merge branch 'diskstreaming_review_chaot' into diskstreaming
Diffstat (limited to 'src/audiofile.cc')
-rw-r--r--src/audiofile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc
index e9b5976..b0ad4da 100644
--- a/src/audiofile.cc
+++ b/src/audiofile.cc
@@ -56,7 +56,7 @@ AudioFile::~AudioFile()
unload();
}
-bool AudioFile::isValid()
+bool AudioFile::isValid() const
{
return this == magic;
}
@@ -147,7 +147,7 @@ void AudioFile::load(int num_samples)
is_loaded = true;
}
-bool AudioFile::isLoaded()
+bool AudioFile::isLoaded() const
{
return is_loaded;
}