summaryrefslogtreecommitdiff
path: root/drivers/ao/audio_driver_ao.cpp
diff options
context:
space:
mode:
authorAnton Yabchinskiy <arn@bestmx.ru>2014-11-22 02:25:12 +0300
committerAnton Yabchinskiy <arn@bestmx.ru>2014-11-22 13:38:11 +0300
commit9fb49e56a4bead2651abb8a86652715902aa493f (patch)
treea3a9019bfff85c571aea6d7c85d5eef7b4b1ddd1 /drivers/ao/audio_driver_ao.cpp
parentc26a1b9d7b9ad82d782c574087054b4c49b28821 (diff)
Initialize/shutdown libao
Diffstat (limited to 'drivers/ao/audio_driver_ao.cpp')
-rw-r--r--drivers/ao/audio_driver_ao.cpp4
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();
};