aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c
index c95b7f7d5..402d6bc28 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -56,6 +56,8 @@ void initAudioDriver(void)
ConfigParam *param = NULL;
unsigned int i;
+ notify_init(&audio_output_client_notify);
+
audioOutputArraySize = audio_output_count();
audioOutputArray = xmalloc(sizeof(struct audio_output) * audioOutputArraySize);
@@ -182,6 +184,8 @@ void finishAudioDriver(void)
free(audioOutputArray);
audioOutputArray = NULL;
audioOutputArraySize = 0;
+
+ notify_deinit(&audio_output_client_notify);
}
bool