diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 12:15:31 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 12:15:31 +0200 |
commit | 8cf2226b05197a3003328c2cc960830bf4bc5f7a (patch) | |
tree | 90b21d8b256e78416021966da2d75c5e9e2ef39f /src/soundplayer.h | |
parent | 3a67d7b08da3d2d5333ac7b5a23fa2d9f303ee32 (diff) |
Free resources in soundplayer
Diffstat (limited to 'src/soundplayer.h')
-rw-r--r-- | src/soundplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soundplayer.h b/src/soundplayer.h index 28c0cf8..9a1e811 100644 --- a/src/soundplayer.h +++ b/src/soundplayer.h @@ -54,7 +54,8 @@ public: private: volatile bool running; QMutex mutex; - QSemaphore sem; + QSemaphore sem_read; + QSemaphore sem_write; QueueItem qi; |