Skip to content

Commit b4db4a6

Browse files
committed
Tools: Topology: Add to sdw-jack-generic microphone the module-copier
The module copier allows to branch the capture pipeline for different processing. In this patch series the module-copier is added to be able to run audio features extraction from the shared headset microphone endpoint. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 2dc080e commit b4db4a6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

tools/topology/topology2/platform/intel/sdw-jack-generic.conf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,28 @@ Object.Widget {
496496
}
497497
}
498498
]
499+
Object.Widget.module-copier [
500+
{
501+
num_input_audio_formats 1
502+
num_output_audio_formats 1
503+
# index 11 is inherited from the pipeline definition
504+
# the instance number is automatically generated as '0'
505+
Object.Base.input_audio_format [
506+
{
507+
in_rate $JACK_RATE
508+
in_bit_depth 32
509+
in_valid_bit_depth 32
510+
}
511+
]
512+
Object.Base.output_audio_format [
513+
{
514+
out_rate $JACK_RATE
515+
out_bit_depth 32
516+
out_valid_bit_depth 32
517+
}
518+
]
519+
}
520+
]
499521
}
500522
}
501523
}
@@ -590,6 +612,10 @@ IncludeByKey.PASSTHROUGH {
590612
}
591613
{
592614
source "eqiir.11.0"
615+
sink "module-copier.11.0"
616+
}
617+
{
618+
source "module-copier.11.0"
593619
sink "host-copier.1.capture"
594620
}
595621
{

0 commit comments

Comments
 (0)