Loading hal/audio_hw.h +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ /* Flags used to initialize acdb_settings variable that goes to ACDB library */ #define NONE_FLAG 0x00000000 #define ANC_FLAG 0x00000001 #define DMIC_FLAG 0x00000002 #define QMIC_FLAG 0x00000004 #define TTY_MODE_OFF 0x00000010 Loading hal/msm8974/platform.c +1 −0 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,7 @@ snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_d if (out_device & AUDIO_DEVICE_OUT_EARPIECE && audio_extn_should_use_handset_anc(channel_count)) { 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) { snd_device = SND_DEVICE_IN_HANDSET_MIC; Loading Loading
hal/audio_hw.h +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ /* Flags used to initialize acdb_settings variable that goes to ACDB library */ #define NONE_FLAG 0x00000000 #define ANC_FLAG 0x00000001 #define DMIC_FLAG 0x00000002 #define QMIC_FLAG 0x00000004 #define TTY_MODE_OFF 0x00000010 Loading
hal/msm8974/platform.c +1 −0 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,7 @@ snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_d if (out_device & AUDIO_DEVICE_OUT_EARPIECE && audio_extn_should_use_handset_anc(channel_count)) { 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) { snd_device = SND_DEVICE_IN_HANDSET_MIC; Loading