From 5d8e03db6b53e381213f341f51423e2cefef5045 Mon Sep 17 00:00:00 2001 From: Yong Zhi Date: Mon, 27 Nov 2023 12:21:09 -0600 Subject: [PATCH] audio: google_rtc_audio_processing: fixup removed struct member This is fixup for a62b7cf1c3f73e3209222d5362a66389e7ae68bf error: 'struct comp_buffer' has no member named 'id' Signed-off-by: Yong Zhi --- src/audio/google/google_rtc_audio_processing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/google/google_rtc_audio_processing.c b/src/audio/google/google_rtc_audio_processing.c index fcf403a1f8bc..3834278ba42e 100644 --- a/src/audio/google/google_rtc_audio_processing.c +++ b/src/audio/google/google_rtc_audio_processing.c @@ -97,7 +97,7 @@ static void google_rtc_audio_processing_params(struct processing_module *mod) list_for_item(source_list, &dev->bsource_list) { sourceb = container_of(source_list, struct comp_buffer, sink_list); - if (IPC4_SINK_QUEUE_ID(sourceb->id) == SOF_AEC_FEEDBACK_QUEUE_ID) + if (IPC4_SINK_QUEUE_ID(buf_get_id(sourceb)) == SOF_AEC_FEEDBACK_QUEUE_ID) ipc4_update_buffer_format(sourceb, &cd->config.reference_fmt); else ipc4_update_buffer_format(sourceb, &mod->priv.cfg.base_cfg.audio_fmt);