Skip to content
Open
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
2 changes: 2 additions & 0 deletions app/overlays/ptl/ctc_overlay.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_COMP_MODULE_ADAPTER=y
CONFIG_COMP_GOOGLE_CTC_AUDIO_PROCESSING=y
4 changes: 4 additions & 0 deletions tools/rimage/config/ptl.toml.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ index = __COUNTER__
#include <audio/google/google_rtc_audio_processing.toml>
#endif

#if defined(CONFIG_COMP_GOOGLE_CTC_AUDIO_PROCESSING) || defined(LLEXT_FORCE_ALL_MODULAR)
#include <audio/google/google_ctc_audio_processing.toml>
#endif

#if defined(CONFIG_COMP_TDFB) || defined(LLEXT_FORCE_ALL_MODULAR)
#include <audio/tdfb/tdfb.toml>
#endif
Expand Down
4 changes: 4 additions & 0 deletions tools/topology/topology2/cavs-sdw.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Define {
SDW_JACK_OUT_BE_ID 0
SDW_JACK_IN_BE_ID 1
NUM_SDW_AMP_LINKS 0
NUM_SDW_AMP_CTC_LINKS 0
SDW_DMIC 0
SDW_JACK true
PASSTHROUGH false
Expand Down Expand Up @@ -137,6 +138,9 @@ IncludeByKey.SDW_AMP_XOVER {
IncludeByKey.NUM_SDW_AMP_LINKS {
"[1-3]" "platform/intel/sdw-amp-generic.conf"
}
IncludeByKey.NUM_SDW_AMP_CTC_LINKS {
"[1-3]" "platform/intel/sdw-amp-generic-ctc.conf"
}
}
"true" {
IncludeByKey.NUM_SDW_AMP_LINKS {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#
# BE playback pipeline: mixout-gain-ctc-alh-dai-copier.
# This pipeline is an extension of the mixout-gain-alh-dai-copier-playback pipeline class.
#
# All attributes defined herein are namespaced
# by alsatplg to "Object.Pipeline.mixout-gain-ctc-alh-dai-copier-playback.N.attribute_name"
#
# Usage: mixout-gain-ctc-alh-dai-copier-playback pipeline object can be instantiated as:
#
# Object.Pipeline.mixout-gain-ctc-alh-dai-copier-playback."N" {
# period 1000
# time_domain "timer"
# }
#
# Where N is the unique pipeline ID within the same alsaconf node.
#

<include/common/input_audio_format.conf>
<include/common/output_audio_format.conf>
<include/components/alh-dai-copier.conf>
<include/components/gain.conf>
<include/components/mixout.conf>
<include/components/pipeline.conf>
<include/components/ctc.conf>
<platform/intel/efx-default.conf>
<include/pipelines/cavs/mixout-gain-alh-dai-copier-playback.conf>

Class.Pipeline."mixout-gain-ctc-alh-dai-copier-playback" {
SubTreeCopy.baseclass {
# this class extends the mixout-gain-alh-dai-copier-playback class definition
source "Class.Pipeline.mixout-gain-alh-dai-copier-playback"

# target node is not defined which means that the new subtree will be copied to
# the parent node containing the SubTreeCopy node i.e in this case the
# Class.Pipeline.mixout-gain-ctc-alh-dai-copier-playback {} node.

# default copy type is to extend the base class ie the widgets and routes
# will be added to the existing list of widgets/routes in the base class

tree {
Object.Widget {
ctc."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 32
out_valid_bit_depth 32
}
]
}
}

Object.Base {
! route [
{
source gain.$index.1
sink ctc.$index.1
}
]
}
}
}
}
Loading
Loading