Skip to content

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 <daniel.baluta@nxp.com>
@lgirdwood
Copy link
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