summaryrefslogtreecommitdiff
path: root/src/audiofile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audiofile.h')
-rw-r--r--src/audiofile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audiofile.h b/src/audiofile.h
index 98bf101..5f93584 100644
--- a/src/audiofile.h
+++ b/src/audiofile.h
@@ -79,8 +79,9 @@ public:
bool isLoaded();
- volatile size_t size;
- volatile sample_t *data;
+ volatile size_t size; // Full size of the file
+ volatile size_t preloadedsize; // Number of samples preloaded (in data)
+ sample_t *data;
std::string filename;