summaryrefslogtreecommitdiff
path: root/src/audiofile.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-01-29 11:41:27 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-01-29 11:41:27 +0100
commit8faba64d538753d09765f2fe003cc08bc5ff2712 (patch)
tree97b919714c6251b52ca89047e119e88c72386bc0 /src/audiofile.cc
parent35a301aa644d0be234f2920f447fe1a3b4a42b26 (diff)
wip 1
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;
}