summaryrefslogtreecommitdiffstats
path: root/audio/test-audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio/test-audio')
-rwxr-xr-xaudio/test-audio8
1 files changed, 8 insertions, 0 deletions
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