avrcp: Set volume if volume changed event is registered
authorYu Liu <yudiliu@google.com>
Wed, 9 Sep 2020 21:26:43 +0000 (14:26 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:32 +0000 (19:08 +0530)
commit9d3b1eb79b1ec40732362124fa917448bed07944
treef8e7abc4e71bfc2b7dc12e31f47c71f255351072
parent67dde9f358ce1310c31cde5d9ea46e6481458f33
avrcp: Set volume if volume changed event is registered

Some audio devices don't list the AVRCP TG role in SDP but still support
absolute volume and volume changed event, this change should allow the
stack to control the volumes on these audio devices.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/avrcp.c