Loading hal/msm8916/platform.c +1 −1 Original line number Diff line number Diff line Loading @@ -1631,7 +1631,7 @@ snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devi goto exit; } if (popcount(devices) == 2) { if (popcount(devices) == 2 && !voice_is_in_call(adev)) { if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE | AUDIO_DEVICE_OUT_SPEAKER)) { snd_device = SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES; Loading hal/msm8974/platform.c +1 −1 Original line number Diff line number Diff line Loading @@ -1653,7 +1653,7 @@ snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devi goto exit; } if (popcount(devices) == 2) { if (popcount(devices) == 2 && !voice_is_in_call(adev)) { if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE | AUDIO_DEVICE_OUT_SPEAKER)) { if (my_data->external_spk_1) Loading Loading
hal/msm8916/platform.c +1 −1 Original line number Diff line number Diff line Loading @@ -1631,7 +1631,7 @@ snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devi goto exit; } if (popcount(devices) == 2) { if (popcount(devices) == 2 && !voice_is_in_call(adev)) { if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE | AUDIO_DEVICE_OUT_SPEAKER)) { snd_device = SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES; Loading
hal/msm8974/platform.c +1 −1 Original line number Diff line number Diff line Loading @@ -1653,7 +1653,7 @@ snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devi goto exit; } if (popcount(devices) == 2) { if (popcount(devices) == 2 && !voice_is_in_call(adev)) { if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE | AUDIO_DEVICE_OUT_SPEAKER)) { if (my_data->external_spk_1) Loading