From 36a07968fcc69442e3248caa46e74de18bacea75 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 11 Aug 2007 12:56:42 +0000 Subject: Create objects for default device and sink --- audio/test-audio | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'audio') diff --git a/audio/test-audio b/audio/test-audio index 5553f0a5..19ea6252 100755 --- a/audio/test-audio +++ b/audio/test-audio @@ -17,3 +17,11 @@ try: 'org.bluez.audio.Headset') except: pass + +try: + device = dbus.Interface(bus.get_object(conn, audio.DefaultDevice()), + 'org.bluez.audio.Device') + sink = dbus.Interface(bus.get_object(conn, audio.DefaultDevice()), + 'org.bluez.audio.Sink') +except: + pass -- cgit