Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f194046 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audio: hal: Fix handset mic selection for voice call"

parents 77b93f2e 110c551f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3948,8 +3948,8 @@ snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_d
                snd_device = SND_DEVICE_IN_AANC_HANDSET_MIC;
                adev->acdb_settings |= ANC_FLAG;
            } else if (my_data->fluence_type == FLUENCE_NONE ||
                my_data->fluence_in_voice_call == false ||
                my_data->fluence_in_hfp_call == false) {
                (my_data->fluence_in_voice_call == false &&
                 my_data->fluence_in_hfp_call == false)) {
                snd_device = SND_DEVICE_IN_HANDSET_MIC;
                if (audio_extn_hfp_is_active(adev))
                    platform_set_echo_reference(adev, true, out_device);
+2 −2
Original line number Diff line number Diff line
@@ -3712,8 +3712,8 @@ snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_d
                }
                adev->acdb_settings |= ANC_FLAG;
            } else if (my_data->fluence_type == FLUENCE_NONE ||
                my_data->fluence_in_voice_call == false ||
                my_data->fluence_in_hfp_call == false) {
                (my_data->fluence_in_voice_call == false &&
                 my_data->fluence_in_hfp_call == false)) {
                snd_device = SND_DEVICE_IN_HANDSET_MIC;
                if (audio_extn_hfp_is_active(adev))
                    platform_set_echo_reference(adev, true, out_device);