summaryrefslogtreecommitdiff
path: root/audio/a2dp.h
diff options
context:
space:
mode:
authorDmitriy Paliy <dmitriy.paliy@nokia.com>2011-03-16 14:01:12 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-17 14:35:55 +0200
commit2da716f340e99d315a9c773ea95253d583ba2b74 (patch)
treed775328e12b235d6d9a32c3cf873e4733335738c /audio/a2dp.h
parent4f8d6ba3531fc2d27d17a54e073e3db529fc1cf5 (diff)
downloadbluez-2da716f340e99d315a9c773ea95253d583ba2b74.tar.gz
Add 'Protocol not supported' error in a2dp_add_sep
'Protocol not supported' error code is added to the registration of A2DP end-points. Error response org.bluez.Error.NotSupported instead of org.bluez.Error.InvalidArguments is used when SEP registration fails due to disabled corresponding interface in audio.conf.
Diffstat (limited to 'audio/a2dp.h')
-rw-r--r--audio/a2dp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/a2dp.h b/audio/a2dp.h
index 21fccaa6c..5c4232dbf 100644
--- a/audio/a2dp.h
+++ b/audio/a2dp.h
@@ -138,7 +138,7 @@ void a2dp_unregister(const bdaddr_t *src);
struct a2dp_sep *a2dp_add_sep(const bdaddr_t *src, uint8_t type,
uint8_t codec, gboolean delay_reporting,
- struct media_endpoint *endpoint);
+ struct media_endpoint *endpoint, int *err);
void a2dp_remove_sep(struct a2dp_sep *sep);
struct a2dp_sep *a2dp_get(struct avdtp *session, struct avdtp_remote_sep *sep);