audio: google_rtc_audio_processing: fixup removed struct member

This is fixup for a62b7cf1c3

error: 'struct comp_buffer' has no member named 'id'

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
This commit is contained in:
Yong Zhi 2023-11-27 12:21:09 -06:00 committed by Liam Girdwood
parent 0c3ae5ae3c
commit 5d8e03db6b
1 changed files with 1 additions and 1 deletions

View File

@ -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);