OSDN Git Service

Add Delay reporting for Hearing Aids
authorStanley Tng <stng@google.com>
Thu, 2 May 2019 22:49:17 +0000 (15:49 -0700)
committerStanley Tng <stng@google.com>
Thu, 9 May 2019 00:00:37 +0000 (17:00 -0700)
commit94f3a3ac7aaeb75af5182654ee173998f8dee07b
treef243c3e00903b50423525dd455427278e6cd7ebe
parent4900661c4904fb28ab6b1fca591e510b7782fe5f
Add Delay reporting for Hearing Aids

Use the RenderDelay parameter from the Hearing Aid devices to implement
the Delay Reporting feature. This will helps in the lip-sync issues.
Please note that this change will requires a re-pair of the Hearing Aids
devices in order for the delay report to work well.

Bug: 132115153
Test: Manual test
Change-Id: If4bef049c18a3912817c2fa96b9bd890d5712c22
audio_hal_interface/hearing_aid_software_encoding.cc
audio_hal_interface/hearing_aid_software_encoding.h
bta/hearing_aid/hearing_aid.cc
bta/hearing_aid/hearing_aid_audio_source.cc
bta/include/bta_hearing_aid_api.h
stack/gatt/gatt_main.cc