summaryrefslogtreecommitdiff
path: root/src/audiofile.h
diff options
context:
space:
mode:
author- <nemo@alice.(none)>2013-05-09 20:01:52 +0200
committer- <nemo@alice.(none)>2013-05-09 20:01:52 +0200
commit9aeb20d5586aa2a548ac6583bc42f84a5e065bff (patch)
tree9684471cfb97157ced8fe4d39a63a30b50b07b77 /src/audiofile.h
parent0c9cfbada411dcc1fcc90306408fadfcf7e49988 (diff)
Iterative reading of sample files. Removed output.
Diffstat (limited to 'src/audiofile.h')
-rw-r--r--src/audiofile.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/audiofile.h b/src/audiofile.h
index d203781..c364b85 100644
--- a/src/audiofile.h
+++ b/src/audiofile.h
@@ -77,17 +77,15 @@ public:
bool isLoaded();
- size_t size;
-
- sample_t *data;
+ volatile size_t size;
+ volatile sample_t *data;
std::string filename;
- bool locked;
#ifdef LAZYLOAD
- SF_INFO sf_info;
- SNDFILE *fh;
- bool completely_loaded;
+// SF_INFO sf_info;
+// SNDFILE *fh;
+// bool completely_loaded;
void init();
void reset();
void loadNext();