-
Notifications
You must be signed in to change notification settings - Fork 349
Merge DTS support for PTL #10678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Merge DTS support for PTL #10678
Changes from all commits
e74050d
a3dfee1
8ce86e0
6c4851d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| CONFIG_COMP_IIR=m | ||
| CONFIG_COMP_MODULE_ADAPTER=y | ||
| CONFIG_DTS_CODEC=y | ||
| CONFIG_LLEXT_HEAP_SIZE=64 | ||
| CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL=n | ||
| CONFIG_SOF_STACK_SIZE=8192 |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,156 @@ | ||||||||||||||
| # | ||||||||||||||
| # BE playback pipeline: mixout-gain-alh-dai-copier. | ||||||||||||||
| # | ||||||||||||||
| # All attributes defined herein are namespaced | ||||||||||||||
| # by alsatplg to "Object.Pipeline.mixout-gain-alh-dai-copier-playback.N.attribute_name" | ||||||||||||||
| # | ||||||||||||||
| # Usage: mixout-gain-alh-dai-copier-playback pipeline object can be instantiated as: | ||||||||||||||
|
Comment on lines
+1
to
+7
|
||||||||||||||
| # | ||||||||||||||
| # Object.Pipeline.mixout-gain-alh-dai-copier-playback."N" { | ||||||||||||||
| # time_domain "timer" | ||||||||||||||
| # } | ||||||||||||||
| # | ||||||||||||||
| # Where N is the unique pipeline ID within the same alsaconf node. | ||||||||||||||
| # | ||||||||||||||
|
|
||||||||||||||
| <include/components/alh-dai-copier.conf> | ||||||||||||||
| <include/components/gain.conf> | ||||||||||||||
| <include/components/mixout.conf> | ||||||||||||||
| <include/components/pipeline.conf> | ||||||||||||||
| <include/controls/bytes.conf> | ||||||||||||||
| <include/components/eqiir.conf> | ||||||||||||||
| <include/components/dts.conf> | ||||||||||||||
|
|
||||||||||||||
| Class.Pipeline."mixout-gain-eqiir-dts-alh-dai-copier-playback" { | ||||||||||||||
|
|
||||||||||||||
| <include/pipelines/pipeline-common.conf> | ||||||||||||||
|
|
||||||||||||||
| attributes { | ||||||||||||||
| !constructor [ | ||||||||||||||
| "index" | ||||||||||||||
| ] | ||||||||||||||
|
|
||||||||||||||
| !immutable [ | ||||||||||||||
| "direction" | ||||||||||||||
| ] | ||||||||||||||
|
|
||||||||||||||
| # | ||||||||||||||
| # mixout-gain-alh-dai-copier-playback objects instantiated within the same alsaconf | ||||||||||||||
| # node must have unique instance attribute | ||||||||||||||
| # | ||||||||||||||
| unique "instance" | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| Object.Widget { | ||||||||||||||
| mixout."1" {} | ||||||||||||||
| alh-copier."1" { | ||||||||||||||
| type dai_in | ||||||||||||||
| num_input_audio_formats 1 | ||||||||||||||
| num_output_audio_formats 1 | ||||||||||||||
| num_input_pins 1 | ||||||||||||||
|
|
||||||||||||||
| # copier only supports one format based on mixin/mixout requirements: | ||||||||||||||
| # 32-bit 48KHz 2ch | ||||||||||||||
| Object.Base.input_audio_format [ | ||||||||||||||
| { | ||||||||||||||
| in_bit_depth 32 | ||||||||||||||
| in_valid_bit_depth 32 | ||||||||||||||
| in_sample_type $SAMPLE_TYPE_MSB_INTEGER | ||||||||||||||
| in_fmt_cfg "$[($in_channels | ($in_valid_bit_depth * 256))]" | ||||||||||||||
| } | ||||||||||||||
| ] | ||||||||||||||
| Object.Base.output_audio_format [ | ||||||||||||||
| { | ||||||||||||||
| out_bit_depth 32 | ||||||||||||||
| out_valid_bit_depth 32 | ||||||||||||||
| out_sample_type $SAMPLE_TYPE_MSB_INTEGER | ||||||||||||||
| out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]" | ||||||||||||||
| } | ||||||||||||||
| ] | ||||||||||||||
| } | ||||||||||||||
| gain."1" { | ||||||||||||||
| num_input_audio_formats 1 | ||||||||||||||
| num_output_audio_formats 1 | ||||||||||||||
|
|
||||||||||||||
| # 32-bit 48KHz 2ch | ||||||||||||||
| 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 | ||||||||||||||
| } | ||||||||||||||
| ] | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| eqiir."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.Control.bytes."1" { | ||||||||||||||
| <include/components/eqiir/flat.conf> | ||||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| dts."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 | ||||||||||||||
| } | ||||||||||||||
| ] | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| pipeline."1" { | ||||||||||||||
| priority 0 | ||||||||||||||
| lp_mode 0 | ||||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| Object.Base { | ||||||||||||||
| !route [ | ||||||||||||||
| { | ||||||||||||||
| source mixout.$index.1 | ||||||||||||||
| sink gain.$index.1 | ||||||||||||||
| } | ||||||||||||||
| { | ||||||||||||||
| source gain.$index.1 | ||||||||||||||
| sink eqiir.$index.1 | ||||||||||||||
| } | ||||||||||||||
| { | ||||||||||||||
| source eqiir.$index.1 | ||||||||||||||
| sink dts.$index.1 | ||||||||||||||
| } | ||||||||||||||
|
||||||||||||||
| } | |
| } | |
| { | |
| source dts.$index.1 | |
| sink alh-copier.$index.1 | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing spaces?