Skip to content

audio: module: Fix passthrough module - #9622

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
dbaluta:fix_pass1
Oct 29, 2024
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
dbaluta:fix_pass1

Conversation

@dbaluta

@dbaluta dbaluta commented Oct 29, 2024

Copy link
Copy Markdown
Collaborator

After commit 5f6f22d ("audio: module_adapter: Prepare to convert copier to use module interface") period_bytes are no longer computed in module generic prepare.

This break the passthrough module as it was using period_bytes computed by upper layers.

Fix this by computing period_bytes inside passthrough module prepare function.

Fixes: 5f6f22d ("audio: module_adapter: Prepare to convert copier to use module interface")

After commit 5f6f22d ("audio: module_adapter: Prepare to convert
copier to use module interface") period_bytes are no longer computed in
module generic prepare.

This break the passthrough module as it was using period_bytes computed
by upper layers.

Fix this by computing period_bytes inside passthrough module prepare
function.

Fixes: 5f6f22d ("audio: module_adapter: Prepare to convert
copier to use module interface")
Signed-off-by: Daniel Baluta <[email protected]>
@lgirdwood

Copy link
Copy Markdown
Member

@ranj063 good for you ?

@lgirdwood
lgirdwood merged commit 5fe899d into thesofproject:main Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants