OSDN Git Service

audio/AVRCP: Always assign a player to TG role
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 29 Oct 2013 14:07:14 +0000 (16:07 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 30 Oct 2013 07:39:25 +0000 (09:39 +0200)
commit89f484014ca5a0f0018a27286347557e34af24a1
treee37e2869d0f7914ee8dbb96057158761b9c2c701
parent556507b49d2582a89dcfbeca64d48f21b7949cbf
audio/AVRCP: Always assign a player to TG role

Currently the code does not assign a player if version is bellow 1.3,
but sometimes the version may not be initialized correctly e.g: record
could not be fetch.

Futhermore by assigning a player for 1.0 CT it won't break backward
compatibility as no commands will be sent but adds the possibility to
respond properly in case the CT is sending commands above its own
version which is a violation of the spec but unfortunately there exists
such stacks on the market.
profiles/audio/avrcp.c