Loading hal/audio_hw.c +1 −1 Original line number Diff line number Diff line Loading @@ -2602,7 +2602,7 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) out->devices = new_dev; if (output_drives_call(adev, out)) { if (!voice_is_in_call(adev)) { if (!voice_is_call_state_active(adev)) { if (adev->mode == AUDIO_MODE_IN_CALL) { adev->current_call_output = out; ret = voice_start_call(adev); Loading hal/voice_extn/voice_extn.c +0 −7 Original line number Diff line number Diff line Loading @@ -162,7 +162,6 @@ static int update_calls(struct audio_device *adev) struct voice_session *session = NULL; int fd = 0; int ret = 0; bool is_voice_sess_active = false; ALOGD("%s: enter:", __func__); Loading Loading @@ -223,12 +222,6 @@ static int update_calls(struct audio_device *adev) __func__, usecase_id); } else { session->state.current = session->state.new; // The flag is not reset if another voice session is active as routing/mode is // set globally instead of per session. voice_extn_is_call_state_active(adev, &is_voice_sess_active); if (!is_voice_sess_active) adev->voice.in_call = false; } break; Loading Loading
hal/audio_hw.c +1 −1 Original line number Diff line number Diff line Loading @@ -2602,7 +2602,7 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) out->devices = new_dev; if (output_drives_call(adev, out)) { if (!voice_is_in_call(adev)) { if (!voice_is_call_state_active(adev)) { if (adev->mode == AUDIO_MODE_IN_CALL) { adev->current_call_output = out; ret = voice_start_call(adev); Loading
hal/voice_extn/voice_extn.c +0 −7 Original line number Diff line number Diff line Loading @@ -162,7 +162,6 @@ static int update_calls(struct audio_device *adev) struct voice_session *session = NULL; int fd = 0; int ret = 0; bool is_voice_sess_active = false; ALOGD("%s: enter:", __func__); Loading Loading @@ -223,12 +222,6 @@ static int update_calls(struct audio_device *adev) __func__, usecase_id); } else { session->state.current = session->state.new; // The flag is not reset if another voice session is active as routing/mode is // set globally instead of per session. voice_extn_is_call_state_active(adev, &is_voice_sess_active); if (!is_voice_sess_active) adev->voice.in_call = false; } break; Loading