diff options
author | Vignesh Kulothungan <vigneshk@quicinc.com> | 2018-03-22 13:50:22 -0700 |
---|---|---|
committer | Andrew Chant <achant@google.com> | 2018-05-21 19:02:20 -0700 |
commit | b6f0a9c24ecc6ddbeeef5f389328e4b8f8a66b3d (patch) | |
tree | 9f3cc4be0db8c064d86db8b8b56d0c49bf025bc8 /hal/platform_api.h | |
parent | 04b8cf1dc2805182cb9c80d3465e1cd8809f1c4a (diff) | |
download | audio-b6f0a9c24ecc6ddbeeef5f389328e4b8f8a66b3d.tar.gz |
hal: Add support for Mic break detection
Send request to driver, to enable mic break detection algorithm in ADSP
based on system feature flag during the start of a voice call.
Bug: 69979011
Test: Built and verified with calls that without changes to ACDB files,
mixer toggle is harmless. ACDB modification testing in progress.
Change-Id: Ifef68005741f3ae538a7b3c414bc8cd0f817915c
Diffstat (limited to 'hal/platform_api.h')
-rw-r--r-- | hal/platform_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hal/platform_api.h b/hal/platform_api.h index 1967233..1a7d2c3 100644 --- a/hal/platform_api.h +++ b/hal/platform_api.h @@ -73,6 +73,7 @@ int platform_switch_voice_call_usecase_route_post(void *platform, snd_device_t in_snd_device); int platform_start_voice_call(void *platform, uint32_t vsid); int platform_stop_voice_call(void *platform, uint32_t vsid); +int platform_set_mic_break_det(void *platform, bool enable); int platform_set_voice_volume(void *platform, int volume); void platform_set_speaker_gain_in_combo(struct audio_device *adev, snd_device_t snd_device, |