From edf5f5be6bf5b4c4b7188b4691caebd4db233788 Mon Sep 17 00:00:00 2001 From: João Paulo Rechi Vita Date: Fri, 29 Jan 2010 10:59:33 -0200 Subject: bluetooth: improve dbus logging --- src/modules/bluetooth/bluetooth-util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/bluetooth') diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index b2c04293..7b0e6f8b 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -293,9 +293,10 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa const char *value; dbus_message_iter_get_basic(&variant_i, &value); - if (pa_streq(key, "State")) + if (pa_streq(key, "State")) { *state = pa_bt_audio_state_from_string(value); -/* pa_log_debug("Value %s", value); */ + pa_log_debug("dbus: property 'State' changed to value '%s'", value); + } break; } -- cgit