summaryrefslogtreecommitdiffstats
path: root/audio/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sink.c')
-rw-r--r--audio/sink.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/sink.c b/audio/sink.c
index f3b7c55f..c6d2dc48 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -136,6 +136,12 @@ static void stream_state_changed(struct avdtp_stream *stream,
sink->state = new_state;
}
+static DBusHandlerResult error_failed(DBusConnection *conn,
+ DBusMessage *msg, const char * desc)
+{
+ return error_common_reply(conn, msg, ERROR_INTERFACE ".Failed", desc);
+}
+
static gboolean stream_setup_retry(gpointer user_data)
{
struct sink *sink = user_data;