Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topology2: set pipeline priority for google aec capture stream #8204

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tools/topology/topology2/cavs-rt5682.conf
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ Define {
SPEAKER_PCM_NAME "Speakers"
SPEAKER_PCM_ID 1
INCLUDE_BT_OFFLOAD true
GOOGLE_AEC_HOST_PIPELINE_PRIORITY 3
GOOGLE_AEC_PIPELINE_PRIORITY 2
DMIC_PIPELINE_PRIORITY 1
ECHO_REF_PIPELINE_PRIORITY 0
}

# override defaults with platform-specific config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ Define {
DMIC1_PCM_CAPS 'Passthrough Capture 18'
DMIC_CORE_ID 0
PASSTHROUGH "false"
DMIC_PIPELINE_PRIORITY 0
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ IncludeByKey.PASSTHROUGH {
}
Object.Widget.pipeline."1" {
core $DMIC_CORE_ID
priority $DMIC_PIPELINE_PRIORITY
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Object.Pipeline.google-rtc-aec-capture [
Object.Widget.pipeline.1 {
stream_name "DMIC0 RTC AEC"
core $GOOGLE_AEC_CORE_ID
priority $GOOGLE_AEC_PIPELINE_PRIORITY
}

Object.Widget.google-rtc-aec.1 {
Expand All @@ -31,6 +32,7 @@ Object.Pipeline.host-gateway-capture[
}
Object.Widget.pipeline."1" {
core $GOOGLE_AEC_CORE_ID
priority $GOOGLE_AEC_HOST_PIPELINE_PRIORITY
RanderWang marked this conversation as resolved.
Show resolved Hide resolved
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Object.Pipeline {
}
}
Object.Widget.pipeline."1" {
core $ECHO_REF_CORE_ID
core $ECHO_REF_CORE_ID
priority $ECHO_REF_PIPELINE_PRIORITY
}
}
]
Expand Down
Loading