summaryrefslogtreecommitdiffstats
path: root/audio/main.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-04-12 12:06:33 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-04-12 12:06:33 +0000
commite5aff3f6f7c43f4ddf8d83358d6a49ad2f81e750 (patch)
tree79b1d744ee212d2b5c3c3ed89d5782ad7e1e9cb9 /audio/main.c
parente3aec1dd412fc0adb0587edf750979e4d18906b0 (diff)
Redo the manager-headset splitup by using object paths as public identifiers for headsets
Diffstat (limited to 'audio/main.c')
-rw-r--r--audio/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/main.c b/audio/main.c
index 6ef3b1c6..3cf609f6 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -73,6 +73,8 @@ int main(int argc, char *argv[])
exit(1);
}
+ headset_init(conn);
+
audio_init(conn);
if (argc > 1 && !strcmp(argv[1], "-s"))
@@ -82,6 +84,8 @@ int main(int argc, char *argv[])
audio_exit();
+ headset_exit();
+
dbus_connection_unref(conn);
g_main_loop_unref(main_loop);