Loading hal/audio_hw.c +4 −2 Original line number Diff line number Diff line Loading @@ -7455,7 +7455,9 @@ static void adev_close_input_stream(struct audio_hw_device *dev, // between the callback and close_stream audio_extn_snd_mon_unregister_listener(stream); /* Disable echo reference while closing input stream */ // Disable echo reference if there are no active input and hfp call // while closing input stream if (!adev->active_input && !audio_extn_hfp_is_active(adev)) platform_set_echo_reference(adev, false, AUDIO_DEVICE_NONE); if (in == NULL) { Loading Loading
hal/audio_hw.c +4 −2 Original line number Diff line number Diff line Loading @@ -7455,7 +7455,9 @@ static void adev_close_input_stream(struct audio_hw_device *dev, // between the callback and close_stream audio_extn_snd_mon_unregister_listener(stream); /* Disable echo reference while closing input stream */ // Disable echo reference if there are no active input and hfp call // while closing input stream if (!adev->active_input && !audio_extn_hfp_is_active(adev)) platform_set_echo_reference(adev, false, AUDIO_DEVICE_NONE); if (in == NULL) { Loading