hal: send audio calibration for VI capture path
Audio calibration is not sent for VI capture path because the input stream is NULL. This results failure in speaker thermal calibration. Send audio calibration with default app_type for VI capture path. Change-Id: Ic3c5d46b5de4f9b914a9fc880726d7658ce3ca8b
This commit is contained in:
parent
986024b8b9
commit
653aaefa4f
|
@ -1268,7 +1268,7 @@ void audio_extn_utils_send_audio_calibration(struct audio_device *adev,
|
|||
platform_send_audio_calibration(adev->platform, usecase,
|
||||
usecase->stream.in->app_type_cfg.app_type,
|
||||
usecase->stream.in->app_type_cfg.sample_rate);
|
||||
} else if (type == PCM_HFP_CALL) {
|
||||
} else if (type == PCM_HFP_CALL || type == PCM_CAPTURE) {
|
||||
/* when app type is default. the sample rate is not used to send cal */
|
||||
platform_send_audio_calibration(adev->platform, usecase,
|
||||
platform_get_default_app_type_v2(adev->platform, usecase->type),
|
||||
|
|
Loading…
Reference in New Issue