diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-04-23 15:13:07 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:23:14 +0100 |
commit | eaa2062ea50fea853fa1852b152354ba50d44985 (patch) | |
tree | 67800491fe0252c188a3d55ef5e55acbc0bc9af8 /src/audiofile.h | |
parent | fac1074163dc31f7aea8857d261811a241f19925 (diff) |
Added 'preloadedsize' to AudioFile to reflect how much data was loaded and not just how big the entire file is.
Diffstat (limited to 'src/audiofile.h')
-rw-r--r-- | src/audiofile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audiofile.h b/src/audiofile.h index 5b57db8..5f93584 100644 --- a/src/audiofile.h +++ b/src/audiofile.h @@ -79,7 +79,8 @@ public: bool isLoaded(); - volatile size_t size; + 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; |