-
Notifications
You must be signed in to change notification settings - Fork 349
Added sof-ptl-cs42l43-agg-l3-cs35l56-l2-dax.tplg for PTL platform #10411
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| CONFIG_COMP_MODULE_ADAPTER=y | ||
| CONFIG_COMP_DOLBY_DAX_AUDIO_PROCESSING=y | ||
| CONFIG_COMP_DOLBY_DAX_AUDIO_PROCESSING_MOCK=n | ||
| CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL=n | ||
| CONFIG_SOF_STACK_SIZE=8192 | ||
|
|
||
| # LLEXT | ||
| CONFIG_LLEXT_HEAP_SIZE=32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 130 additions & 0 deletions
130
tools/topology/topology2/include/pipelines/cavs/mixout-gain-dax-alh-dai-copier-playback.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,130 @@ | ||
| # | ||
| # BE playback pipeline: mixout-gain-dax-alh-dai-copier. | ||
| # | ||
| # All attributes defined herein are namespaced | ||
| # by alsatplg to "Object.Pipeline.mixout-gain-dax-alh-dai-copier-playback.N.attribute_name" | ||
| # | ||
| # Usage: mixout-gain-dax-alh-dai-copier-playback pipeline object can be instantiated as: | ||
| # | ||
| # Object.Pipeline.mixout-gain-dax-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/dolby-dax.conf> | ||
| <include/components/gain.conf> | ||
| <include/components/mixout.conf> | ||
| <include/components/pipeline.conf> | ||
|
|
||
| Class.Pipeline."mixout-gain-dax-alh-dai-copier-playback" { | ||
|
|
||
| <include/pipelines/pipeline-common.conf> | ||
|
|
||
| attributes { | ||
| !constructor [ | ||
| "index" | ||
| ] | ||
|
|
||
| !immutable [ | ||
| "direction" | ||
| ] | ||
|
|
||
| # | ||
| # mixout-gain-dax-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 | ||
| } | ||
| ] | ||
| } | ||
| dolby-dax."1" { | ||
| num_input_audio_formats 1 | ||
| num_output_audio_formats 1 | ||
| Object.Base.input_audio_format [ | ||
| { | ||
| in_rate 48000 | ||
| in_bit_depth 32 | ||
| in_valid_bit_depth 32 | ||
| ibs "$[(256 * ($[($in_bit_depth / 8)])) * ($in_channels)]" | ||
| } | ||
| ] | ||
| Object.Base.output_audio_format [ | ||
| { | ||
| out_rate 48000 | ||
| out_bit_depth 32 | ||
| out_valid_bit_depth 32 | ||
| obs "$[(256 * ($[($out_bit_depth / 8)])) * ($out_channels)]" | ||
| } | ||
| ] | ||
| } | ||
|
|
||
| pipeline."1" { | ||
| priority 0 | ||
| lp_mode 0 | ||
| } | ||
| } | ||
|
|
||
| Object.Base { | ||
| !route [ | ||
| { | ||
| source gain.$index.1 | ||
| sink dolby-dax.$index.1 | ||
| } | ||
| { | ||
| source mixout.$index.1 | ||
| sink gain.$index.1 | ||
| } | ||
| ] | ||
| } | ||
|
|
||
| direction "playback" | ||
| dynamic_pipeline 1 | ||
| time_domain "timer" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.