summaryrefslogtreecommitdiff
path: root/drivers/ao/audio_driver_ao.cpp
diff options
context:
space:
mode:
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();
};