Skip to content

Commit

Permalink
audio: google_rtc_audio_processing: fixup removed struct member
Browse files Browse the repository at this point in the history
This is fixup for a62b7cf

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

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
  • Loading branch information
yongzhi1 authored and lgirdwood committed Nov 29, 2023
1 parent 0c3ae5a commit 5d8e03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/google/google_rtc_audio_processing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d8e03d

Please sign in to comment.