summaryrefslogtreecommitdiff
path: root/audio/a2dp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>2010-10-04 16:02:39 +0300
committerLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>2010-10-11 12:22:57 +0300
commitdbb95404767ddf0b02c879aa9f0b621a513ac5c9 (patch)
tree96c776167cb484f537312d62e2e25d095b2b6398 /audio/a2dp.c
parent646f0c7e6b557c5413825ce7b04bee52bf0129e8 (diff)
Fix not always signalling new streams when acting as a sink
Only in case of being the initiator this signal was being generated, so now it should also signal new streams when being a receptor.
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r--audio/a2dp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c
index 01a606332..323ef8722 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -371,6 +371,8 @@ static gboolean sbc_setconf_ind(struct avdtp *session,
if (a2dp_sep->type == AVDTP_SEP_TYPE_SOURCE)
sink_new_stream(dev, session, stream);
+ else
+ source_new_stream(dev, session, stream);
return TRUE;
}