summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/bluetooth-util.h
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@digia.com>2011-03-21 15:08:34 +0200
committerColin Guthrie <cguthrie@mandriva.org>2011-03-24 09:17:15 +0000
commit51163d0fd94735a514d734ca35644cbd45184ce0 (patch)
tree6809ee5d9baf46dcfc2de72bfdb195176bc52822 /src/modules/bluetooth/bluetooth-util.h
parent93348331bb415b1d0a5a1067fbe597f58353c5c9 (diff)
bluetooth: Don't log an error if an endpoint type is disabled.
It's perfectly normal for BlueZ to disable some endpoint types, so printing a log message at error level isn't a good idea. For facilitating an informative message in case some endpoint type is disabled, the send_and_add_to_pending() function interface is also changed to be more generic (the pa_bluetooth_device pointer is replaced with a void pointer).
Diffstat (limited to 'src/modules/bluetooth/bluetooth-util.h')
-rw-r--r--src/modules/bluetooth/bluetooth-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.h b/src/modules/bluetooth/bluetooth-util.h
index bb0cb24a..2054f6e7 100644
--- a/src/modules/bluetooth/bluetooth-util.h
+++ b/src/modules/bluetooth/bluetooth-util.h
@@ -29,6 +29,8 @@
#include <pulsecore/macro.h>
#include <pulsecore/core-util.h>
+#define PA_BLUETOOTH_ERROR_NOT_SUPPORTED "org.bluez.Error.NotSupported"
+
/* UUID copied from bluez/audio/device.h */
#define GENERIC_AUDIO_UUID "00001203-0000-1000-8000-00805f9b34fb"