summaryrefslogtreecommitdiffstats
path: root/audio/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/main.c')
-rw-r--r--audio/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/main.c b/audio/main.c
index eaa04806..f54f74de 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -96,15 +96,19 @@ static int audio_init(void)
g_key_file_free(config);
- register_uuids("audio", uuids);
+ register_service("audio");
- register_external_service(conn, "audio", "Audio service", "");
+ register_uuids("audio", uuids);
return 0;
}
static void audio_exit(void)
{
+ unregister_uuids("audio");
+
+ unregister_service("audio");
+
audio_manager_exit();
unix_exit();