diff options
author | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-22 02:25:12 +0300 |
---|---|---|
committer | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-22 13:38:11 +0300 |
commit | 9fb49e56a4bead2651abb8a86652715902aa493f (patch) | |
tree | a3a9019bfff85c571aea6d7c85d5eef7b4b1ddd1 /drivers | |
parent | c26a1b9d7b9ad82d782c574087054b4c49b28821 (diff) |
Initialize/shutdown libao
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ao/audio_driver_ao.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ao/audio_driver_ao.cpp b/drivers/ao/audio_driver_ao.cpp index 02e994da6c..29c90b5bdf 100644 --- a/drivers/ao/audio_driver_ao.cpp +++ b/drivers/ao/audio_driver_ao.cpp @@ -118,12 +118,12 @@ void AudioDriverAO::finish() { }; AudioDriverAO::AudioDriverAO() { - mutex = NULL; thread = NULL; + ao_initialize(); }; AudioDriverAO::~AudioDriverAO() { - + ao_shutdown(); }; |