OSDN Git Service

Abstract the adjustment of A2DP codec parameters
authorPavlin Radoslavov <pavlin@google.com>
Wed, 19 Oct 2016 00:19:55 +0000 (17:19 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 19 Oct 2016 01:03:56 +0000 (18:03 -0700)
commitb7bb9f066cb2c5268c9f8a24ed0988c0e03b49c8
tree9e5a2788a9ee03694df1198f27866697e4433523
parent18ab8cc580d3775bc32ae64d8cc17ee88b1a088d
Abstract the adjustment of A2DP codec parameters

Replaced hard-coded SBC-specific hack for updating some
of its parameters with an API abstraction: A2DP_AdjustCodec()
Also, added the corresponding unit tests.

Bug: 30958229
Test: manual A2DP testing, added new unit tests
Change-Id: I51a0a019d107362f9c24829408d426a5403b0a8e
bta/av/bta_av_aact.cc
stack/a2dp/a2dp_api.cc
stack/a2dp/a2dp_sbc.cc
stack/a2dp/a2dp_vendor.cc
stack/include/a2dp_api.h
stack/include/a2dp_sbc.h
stack/include/a2dp_vendor.h
stack/test/stack_a2dp_test.cc