summaryrefslogtreecommitdiff
path: root/src/audiofile.h
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.h
parent35a301aa644d0be234f2920f447fe1a3b4a42b26 (diff)
wip 1
Diffstat (limited to 'src/audiofile.h')
-rw-r--r--src/audiofile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audiofile.h b/src/audiofile.h
index 3ca8b97..eb9440e 100644
--- a/src/audiofile.h
+++ b/src/audiofile.h
@@ -45,7 +45,7 @@ public:
void load(int num_samples = ALL_SAMPLES);
void unload();
- bool isLoaded();
+ bool isLoaded() const;
volatile size_t size{0}; // Full size of the file
volatile size_t preloadedsize{0}; // Number of samples preloaded (in data)
@@ -53,7 +53,7 @@ public:
std::string filename;
- bool isValid();
+ bool isValid() const;
Mutex mutex;