Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 367
Modify the echo reference capture pipeline#8101
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,5 @@ | ||
| Define { | ||
| ECHO_REF_STREAM_NAME "Echo reference" | ||
cujomalainey marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
| Object.Pipeline { | ||
| host-gateway-capture [ | ||
| { | ||
| index $ECHO_REF_HOST_PIPELINE_ID | ||
| core_id $ECHO_REF_CORE_ID | ||
| Object.Widget.host-copier.1 { | ||
| core_id $ECHO_REF_CORE_ID | ||
| stream_name $ECHO_REF_STREAM_NAME | ||
| pcm_id $ECHO_REF_PCM_ID | ||
| } | ||
| Object.Widget.pipeline."1" { | ||
| core $ECHO_REF_CORE_ID | ||
| } | ||
| } | ||
| ] | ||
| dai-copier-be [ | ||
| io-gateway-capture [ | ||
| { | ||
| index $ECHO_REF_DAI_PIPELINE_ID | ||
| core_id $ECHO_REF_CORE_ID | ||
| @@ -33,41 +13,24 @@ Object.Pipeline { | ||
| copier_type "SSP" | ||
| stream_name $SPEAKER_CODEC_NAME | ||
| node_type $I2S_LINK_INPUT_CLASS | ||
| Object.Base.audio_format.1 { | ||
| in_bit_depth 32 | ||
| in_valid_bit_depth 32 | ||
| out_bit_depth 32 | ||
| out_valid_bit_depth 32 | ||
| } | ||
| num_input_audio_formats 1 | ||
| Object.Base.input_audio_format [ | ||
| { | ||
| in_bit_depth 32 | ||
| in_valid_bit_depth 32 | ||
| } | ||
| ] | ||
| num_output_audio_formats 1 | ||
| Object.Base.output_audio_format [ | ||
| { | ||
| out_bit_depth 16 | ||
| out_valid_bit_depth 16 | ||
| } | ||
| ] | ||
| } | ||
| Object.Widget.pipeline."1" { | ||
| core $ECHO_REF_CORE_ID | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| Object.PCM.pcm [ | ||
| { | ||
| name "EchoRef" | ||
| id $ECHO_REF_PCM_ID | ||
| direction "capture" | ||
| Object.Base.fe_dai.1 {} | ||
| Object.PCM.pcm_caps.1 { | ||
| name $ECHO_REF_STREAM_NAME | ||
| formats 'S16_LE,S24_LE,S32_LE' | ||
| } | ||
| } | ||
| ] | ||
| Object.Base.route [ | ||
| { | ||
| source "dai-copier.SSP.$SPEAKER_CODEC_NAME.capture" | ||
| sink $ECHO_REF_COPIER_MODULE | ||
| } | ||
| { | ||
| source $ECHO_REF_COPIER_MODULE | ||
| sink "host-copier.$ECHO_REF_PCM_ID.capture" | ||
| } | ||
| ] | ||
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. @ranj063 Not necessarily for this PR, but should we still have templates for both cases, echo ref to an AEC running on the DSP (like this case), and echo ref to user-space. I mean a given product will use only one option, not both, but in the past we've enabled both. CollaboratorAuthor 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 for aec in userspace, we would need the host copier and the PCM but we can't tie it to this topology. So I'd say we should leave it until.theres a need for it. | ||
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.
Does the real AEC version without mockup use the bytes control. Was this added just for the mockup? If the real AEC has bytes control shouldn't we have it in topology to be able to exercise it with about right ballpark size random bytes blob?