Skip to content

Commit

Permalink
DEBUG: topology2: add module-copier to spk feeback
Browse files Browse the repository at this point in the history
Signed-off-by: Yong Zhi <[email protected]>
  • Loading branch information
yongzhi1 committed Oct 25, 2023
1 parent a951579 commit 139b697
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Object.Pipeline.google-rtc-aec-capture [
}

Object.Base.input_pin_binding.2 {
input_pin_binding_name "dai-copier.SSP.$SPEAKER_CODEC_NAME.capture"
input_pin_binding_name "module-copier.$ECHO_REF_DAI_PIPELINE_ID.1"
}
}
}
Expand Down Expand Up @@ -100,7 +100,11 @@ Object.Base.route [
}
{
source "dai-copier.SSP.$SPEAKER_CODEC_NAME.capture"
sink "google-rtc-aec.18.1"
sink module-copier.$ECHO_REF_DAI_PIPELINE_ID.1
}
{
source module-copier.$ECHO_REF_DAI_PIPELINE_ID.1
sink "google-rtc-aec.18.1"
}
{
source "module-copier.18.2"
Expand Down
20 changes: 20 additions & 0 deletions tools/topology/topology2/platform/intel/speaker-echo-ref.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@ Object.Pipeline {
core $ECHO_REF_CORE_ID
priority $ECHO_REF_PIPELINE_PRIORITY
}

Object.Widget.module-copier."1" {
period_sink_count 1
period_source_count 1
num_input_audio_formats 1
num_output_audio_formats 1

Object.Base.input_audio_format [
{
in_bit_depth 32
in_valid_bit_depth 32
}
]
Object.Base.output_audio_format [
{
out_bit_depth 16
out_valid_bit_depth 16
}
]
}
}
]
}

0 comments on commit 139b697

Please sign in to comment.