Skip to content
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

audio: module: Fix passthrough module #9622

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

dbaluta
Copy link
Collaborator

@dbaluta dbaluta commented Oct 29, 2024

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
Member

@ranj063 good for you ?

@lgirdwood lgirdwood merged commit 5fe899d into thesofproject:main Oct 29, 2024
44 of 47 checks passed
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