Loading hal/msm8916/platform.c +4 −1 Original line number Diff line number Diff line Loading @@ -5848,7 +5848,10 @@ static int platform_get_voice_call_backend(struct audio_device* adev) if (voice_is_in_call(adev) || adev->mode == AUDIO_MODE_IN_COMMUNICATION) { list_for_each(node, &adev->usecase_list) { uc = node_to_item(node, struct audio_usecase, list); if (uc && (uc->type == VOICE_CALL || uc->type == VOIP_CALL) && uc->stream.out) { if (uc && uc->stream.out && (uc->type == VOICE_CALL || uc->type == VOIP_CALL || uc->id == USECASE_AUDIO_PLAYBACK_VOIP)) { out_snd_device = platform_get_output_snd_device(adev->platform, uc->stream.out); backend_idx = platform_get_backend_index(out_snd_device); break; Loading hal/msm8974/platform.c +4 −1 Original line number Diff line number Diff line Loading @@ -6816,7 +6816,10 @@ static int platform_get_voice_call_backend(struct audio_device* adev) if (voice_is_in_call(adev) || adev->mode == AUDIO_MODE_IN_COMMUNICATION) { list_for_each(node, &adev->usecase_list) { uc = node_to_item(node, struct audio_usecase, list); if (uc && (uc->type == VOICE_CALL || uc->type == VOIP_CALL) && uc->stream.out) { if (uc && uc->stream.out && (uc->type == VOICE_CALL || uc->type == VOIP_CALL || uc->id == USECASE_AUDIO_PLAYBACK_VOIP)) { out_snd_device = platform_get_output_snd_device(adev->platform, uc->stream.out); backend_idx = platform_get_backend_index(out_snd_device); break; Loading Loading
hal/msm8916/platform.c +4 −1 Original line number Diff line number Diff line Loading @@ -5848,7 +5848,10 @@ static int platform_get_voice_call_backend(struct audio_device* adev) if (voice_is_in_call(adev) || adev->mode == AUDIO_MODE_IN_COMMUNICATION) { list_for_each(node, &adev->usecase_list) { uc = node_to_item(node, struct audio_usecase, list); if (uc && (uc->type == VOICE_CALL || uc->type == VOIP_CALL) && uc->stream.out) { if (uc && uc->stream.out && (uc->type == VOICE_CALL || uc->type == VOIP_CALL || uc->id == USECASE_AUDIO_PLAYBACK_VOIP)) { out_snd_device = platform_get_output_snd_device(adev->platform, uc->stream.out); backend_idx = platform_get_backend_index(out_snd_device); break; Loading
hal/msm8974/platform.c +4 −1 Original line number Diff line number Diff line Loading @@ -6816,7 +6816,10 @@ static int platform_get_voice_call_backend(struct audio_device* adev) if (voice_is_in_call(adev) || adev->mode == AUDIO_MODE_IN_COMMUNICATION) { list_for_each(node, &adev->usecase_list) { uc = node_to_item(node, struct audio_usecase, list); if (uc && (uc->type == VOICE_CALL || uc->type == VOIP_CALL) && uc->stream.out) { if (uc && uc->stream.out && (uc->type == VOICE_CALL || uc->type == VOIP_CALL || uc->id == USECASE_AUDIO_PLAYBACK_VOIP)) { out_snd_device = platform_get_output_snd_device(adev->platform, uc->stream.out); backend_idx = platform_get_backend_index(out_snd_device); break; Loading