Skip to content

Commit 1c61f7f

Browse files
committed
tools: topology: Disable DP mode for Phase Vocoder
With this change it is possible to run the Phase Vocoder without need for DP-DP bind feature. When scheduled normally the render speeds over 1 must be disabled since it would cause immediate xrun and playback fail. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 84ce028 commit 1c61f7f

2 files changed

Lines changed: 18 additions & 11 deletions

File tree

tools/topology/topology2/include/components/phase_vocoder.conf

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Class.Widget."phase_vocoder" {
7878
shift 0
7979
}
8080
text.0 {
81+
# Speeds over 1 are disabled for now to be able to operate
82+
# Phase Vocoder Module without DP-DP bind need. The compress
83+
# decoder must be DP, so the DP mode and more free PCM flow
84+
# is not available for the Phase Vocoder.
8185
name "phase_vocoder_speed_enum"
8286
!values [
8387
"0.5"
@@ -86,16 +90,16 @@ Class.Widget."phase_vocoder" {
8690
"0.8"
8791
"0.9"
8892
"1.0"
89-
"1.1"
90-
"1.2"
91-
"1.3"
92-
"1.4"
93-
"1.5"
94-
"1.6"
95-
"1.7"
96-
"1.8"
97-
"1.9"
98-
"2.0"
93+
#"1.1"
94+
#"1.2"
95+
#"1.3"
96+
#"1.4"
97+
#"1.5"
98+
#"1.6"
99+
#"1.7"
100+
#"1.8"
101+
#"1.9"
102+
#"2.0"
99103
]
100104
}
101105
ops.1 {

tools/topology/topology2/include/pipelines/cavs/compr-speed-playback.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ Class.Pipeline."compr-speed-playback" {
5757
}
5858

5959
phase_vocoder."1" {
60-
scheduler_domain "DP"
60+
# Commented out to avoid DP-DP bind limitation. This limits the
61+
# Phase Vocodeer module to support only slow playback 0.5 - 1.0x
62+
# with no speed up.
63+
# scheduler_domain "DP"
6164
}
6265

6366
module-copier."2" {}

0 commit comments

Comments
 (0)