Skip to content

Commit

Permalink
topology2: set pipeline priority for google aec capture stream
Browse files Browse the repository at this point in the history
Set non-zero priority for host pipeline of aec stream so that it has the
highest priority then driver will first trigger this pipeline since ipc4
requires triggering pipeline from sink to source.

Signed-off-by: Rander Wang <[email protected]>
  • Loading branch information
RanderWang committed Sep 15, 2023
1 parent f114ace commit 9b17166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/topology/topology2/cavs-rt5682.conf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Define {
GOOGLE_RTC_AEC_SUPPORT 0
GOOGLE_RTC_AEC_REF_SOURCE 'module-copier.8.2'
GOOGLE_AEC_CORE_ID 0
GOOGLE_AEC_HOST_PIPELINE_PRIORITY 5
HEADSET_PCM_NAME "Headset"
HEADSET_PCM_ID 0
SPEAKER_PCM_NAME "Speakers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Object.Pipeline.host-gateway-capture[
}
Object.Widget.pipeline."1" {
core $GOOGLE_AEC_CORE_ID
priority $GOOGLE_AEC_HOST_PIPELINE_PRIORITY
}
}
]
Expand Down

0 comments on commit 9b17166

Please sign in to comment.