-
Notifications
You must be signed in to change notification settings - Fork 349
topology2: use passthrough-capture-be instead of passthrough-be #7091
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
Changes from all commits
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 |
|---|---|---|
|
|
@@ -63,7 +63,7 @@ Object.Pipeline { | |
| } | ||
| } | ||
|
|
||
| passthrough-be.1 { | ||
| passthrough-capture-be.1 { | ||
| index 4 | ||
| direction capture | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # | ||
| # BE DAI passthrough pipeline for capture | ||
| # | ||
| # All attributes defined herein are namespaced by alsatplg to | ||
| # "Object.Pipeline.passthrough-be-capture.N.attribute_name" | ||
| # | ||
| # Usage: mixin-playback pipeline object can be instantiated as: | ||
| # | ||
| # Object.Pipeline.dai-pipeline."N" { | ||
| # direction "capture" | ||
| # period 1000 | ||
| # time_domain "timer" | ||
| # channels 2 | ||
| # rate 48000 | ||
| # } | ||
| # | ||
| # Where N is the unique pipeline ID within the same alsaconf node. | ||
| # | ||
|
|
||
| <include/common/audio_format.conf> | ||
| <include/components/copier.conf> | ||
| <include/components/pipeline.conf> | ||
|
|
||
| Class.Pipeline."passthrough-capture-be" { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kv2019i can we call this 32-bit-capture.conf explicitly?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ranj063 well, it's not really limited to 32bit, users can add as many audio formats they want, right?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, lets give users a choice if possible. If not, we can hard code this later. |
||
|
|
||
| DefineAttribute."index" {} | ||
|
|
||
| <include/pipelines/pipeline-common.conf> | ||
|
|
||
| attributes { | ||
| !constructor [ | ||
| "index" | ||
| ] | ||
|
|
||
| unique "instance" | ||
| } | ||
|
|
||
| Object.Widget { | ||
| copier."1" { | ||
| type dai_in | ||
| num_audio_formats 1 | ||
| num_input_audio_formats 1 | ||
| num_output_audio_formats 1 | ||
|
|
||
| Object.Base.audio_format.1 { | ||
| in_bit_depth 32 | ||
| in_valid_bit_depth 32 | ||
| out_bit_depth 32 | ||
| out_valid_bit_depth 32 | ||
| dma_buffer_size "$[$obs * 2]" | ||
| } | ||
| } | ||
|
|
||
| pipeline."1" { | ||
| priority 0 | ||
| lp_mode 0 | ||
| } | ||
| } | ||
|
|
||
| time_domain "timer" | ||
| dynamic_pipeline 1 | ||
| channels 2 | ||
| channels_min 2 | ||
| channels_max 2 | ||
| rate 48000 | ||
| rate_min 48000 | ||
| rate_max 48000 | ||
| } | ||
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.
Oops, copy'n'paste error in the doc, will fix in later version.
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.
Fix incrementally in another PR.