diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-06-29 21:48:09 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-06-29 21:48:09 +0200 |
commit | 1d552637fd68a82b454b7d5c50d3599707914d5b (patch) | |
tree | 9268a6410f0e677302e502bb1e0a017b939c7651 /src/audiofile.h | |
parent | 1deb487ccc9fbb40f4abbe7695048609a6c5a99d (diff) |
Add some more AudioFile protection (mutex/magic word)
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 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; }; |