OSDN Git Service

Hearing Aid: Combine audio from stereo to mono when only one side connect
authorweichinweng <weichinweng@google.com>
Fri, 26 Oct 2018 09:21:13 +0000 (17:21 +0800)
committerStanley Tng <stng@google.com>
Thu, 8 Nov 2018 23:47:57 +0000 (23:47 +0000)
commit39ecffe5287ed4566904683b1882efe28d1b6dd0
tree6a83fd9fd8ea38c0bc677273b89afb2688eb99df
parentcac96c646fac463a9c894ad702bd4428863c9400
Hearing Aid: Combine audio from stereo to mono when only one side connect

* On the design of the Hearing Aids, the phone will separate the stereo
audio samples and stream the left audio samples to the left device and
right audio samples to the right device. When only one side connected,
phone will only stream the one side audio sample to one hearing aid
device.
* This CL adds a functionality for checking the left/right hearing aid
and combine audio samples from stereo to mono when only on side connect.

Bug: 117178490
Bug: 116317072
Test: disconnected/reconnected one side hearing when play stereo test
sound.

Change-Id: Idb3871951617680aba3ca82f801a70c95403d889
Merged-In: Idb3871951617680aba3ca82f801a70c95403d889
bta/hearing_aid/hearing_aid.cc