summaryrefslogtreecommitdiff
path: root/src/audiofile.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-06-29 21:48:09 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-06-29 21:48:09 +0200
commit1d552637fd68a82b454b7d5c50d3599707914d5b (patch)
tree9268a6410f0e677302e502bb1e0a017b939c7651 /src/audiofile.h
parent1deb487ccc9fbb40f4abbe7695048609a6c5a99d (diff)
Add some more AudioFile protection (mutex/magic word)
Diffstat (limited to 'src/audiofile.h')
-rw-r--r--src/audiofile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audiofile.h b/src/audiofile.h
index c364b85..46c9285 100644
--- a/src/audiofile.h
+++ b/src/audiofile.h
@@ -95,9 +95,10 @@ public:
bool isValid();
int ref_count;
+ Mutex mutex;
+
private:
void *magic;
- Mutex mutex;
bool is_loaded;
};