mirror of https://github.com/thesofproject/sof.git
Tools: Topology2: Add module copier to HDA analog capture
This patch changes in cavs-mixin-mixout-hda based topologies the analog capture pipeline from dai-copier -> eqiir -> host-copier to dai-copier -> eqiir -> module-copier -> host-copier It allows more flexibility with processing add into host-copier pipeline and allow capture stream duplication to multiple PCMs. This change adds 2.2 MCPS from module-copier in TGL platform. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
b9aa4c5603
commit
cf7f45ecb0
|
@ -198,10 +198,9 @@ Object.Pipeline {
|
|||
}
|
||||
]
|
||||
|
||||
highpass-capture-be [
|
||||
dai-copier-eqiir-module-copier-capture [
|
||||
{
|
||||
index 4
|
||||
direction capture
|
||||
|
||||
Object.Widget.dai-copier."1" {
|
||||
dai_type "HDA"
|
||||
|
@ -230,7 +229,43 @@ Object.Pipeline {
|
|||
Object.Widget.eqiir.1 {
|
||||
Object.Control.bytes."1" {
|
||||
name '$ANALOG_CAPTURE_PCM IIR Eq'
|
||||
<include/components/eqiir/highpass_40hz_0db_48khz.conf>
|
||||
}
|
||||
num_input_audio_formats 1
|
||||
num_output_audio_formats 1
|
||||
Object.Base.input_audio_format [
|
||||
{
|
||||
in_rate $HDA_ANALOG_CAPTURE_RATE
|
||||
in_bit_depth 32
|
||||
in_valid_bit_depth 32
|
||||
}
|
||||
]
|
||||
Object.Base.output_audio_format [
|
||||
{
|
||||
out_rate $HDA_ANALOG_CAPTURE_RATE
|
||||
out_bit_depth 32
|
||||
out_valid_bit_depth 32
|
||||
}
|
||||
]
|
||||
}
|
||||
Object.Widget.module-copier."2" {
|
||||
stream_name $HDA_ANALOG_DAI_NAME
|
||||
num_input_audio_formats 1
|
||||
num_output_audio_formats 1
|
||||
Object.Base.input_audio_format [
|
||||
{
|
||||
in_rate $HDA_ANALOG_CAPTURE_RATE
|
||||
in_bit_depth 32
|
||||
in_valid_bit_depth 32
|
||||
}
|
||||
]
|
||||
Object.Base.output_audio_format [
|
||||
{
|
||||
out_rate $HDA_ANALOG_CAPTURE_RATE
|
||||
out_bit_depth 32
|
||||
out_valid_bit_depth 32
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -275,7 +310,7 @@ Object.Base.route [
|
|||
sink 'eqiir.4.1'
|
||||
}
|
||||
{
|
||||
source 'eqiir.4.1'
|
||||
source 'module-copier.4.2'
|
||||
sink 'host-copier.0.capture'
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue