From 5d663976ea73902c50b454464061924148575f41 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 2 Jun 2025 09:04:58 -0500 Subject: [PATCH] voice: fix setting call audio format MM should be updating the call audio format and port on ongoing/active calls, not terminated ones. Signed-off-by: Dan Williams --- src/mm-iface-modem-voice.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mm-iface-modem-voice.c b/src/mm-iface-modem-voice.c index 0bba2a34..69f53cdc 100644 --- a/src/mm-iface-modem-voice.c +++ b/src/mm-iface-modem-voice.c @@ -2163,8 +2163,7 @@ call_list_foreach_audio_settings (MMBaseCall *call, InCallEventContext *ctx) { if (mm_base_call_get_state (call) != MM_CALL_STATE_TERMINATED) - return; - mm_base_call_change_audio_settings (call, ctx->audio_port, ctx->audio_format); + mm_base_call_change_audio_settings (call, ctx->audio_port, ctx->audio_format); } static void