commit | 7e57367cb95cc5bcdae5d41b53bcc18fa148daa4 | [log] [tgz] |
---|---|---|
author | vivek mehta <mvivek@codeaurora.org> | Tue Mar 13 17:41:41 2018 -0700 |
committer | David Lin <dtwlin@google.com> | Wed Mar 14 16:04:27 2018 -0700 |
tree | 9618a11a9cd00f4c966c252d3815ceaec5c38c9f | |
parent | 07a889328f7617e3c49a96ea219aa76bae15e0bc [diff] |
hal: send usecase specific device calibration In voice-call case, audio HAL sends SND_DEVICE_OUT_SPEAKER calibration even when device is not speaker. Check for usecase and set correct acdb id to set correct device specific calibration. Also, select correct device if speaker protection is enabled. Bug: 74243241 Test: manual audio test Change-Id: I5833528c5778a1121ed916092348cb342f090e6c Signed-off-by: David Lin <dtwlin@google.com>