summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 61b1745f..1ffa7456 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -145,6 +145,13 @@ struct event {
int (*callback) (struct audio_device *device, const char *buf);
};
+static DBusHandlerResult error_not_supported(DBusConnection *conn,
+ DBusMessage *msg)
+{
+ return error_common_reply(conn, msg, ERROR_INTERFACE ".NotSupported",
+ "Not supported");
+}
+
static int rfcomm_connect(struct audio_device *device, headset_stream_cb_t cb,
void *user_data, unsigned int *cb_id);
static int get_records(struct audio_device *device, headset_stream_cb_t cb,