Skip to content

codec_adapter: fix local buffer prepare#3974

Merged
lgirdwood merged 1 commit intothesofproject:mainfrom
cujomalainey:local_buf
Apr 1, 2021
Merged

codec_adapter: fix local buffer prepare#3974
lgirdwood merged 1 commit intothesofproject:mainfrom
cujomalainey:local_buf

Conversation

@cujomalainey
Copy link
Contributor

We are only setting the parameters on the allocation of the local buffer
which means if the params change on the next run it will not change and
break things.

Signed-off-by: Curtis Malainey cujomalainey@chromium.org

@cujomalainey
Copy link
Contributor Author

Possible fix for #3966

Copy link

@RDharageswari RDharageswari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cujomalainey
Copy link
Contributor Author

Waiting for @stolx to test before putting up for full review

@cujomalainey
Copy link
Contributor Author

Given number of LTGMs putting up for full review so once test comes back we can just merge right away if test is good

@cujomalainey cujomalainey marked this pull request as ready for review March 29, 2021 23:23
Copy link
Contributor

@keyonjie keyonjie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

We are only setting the parameters on the allocation of the local buffer
which means if the params change on the next run it will not change and
break things.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
@cujomalainey
Copy link
Contributor Author

That was a rebase to fix CI, no code change

Copy link
Contributor

@stolx stolx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked issue #3966 with this fix - still can be reproduced

@lgirdwood
Copy link
Member

checked issue #3966 with this fix - still can be reproduced

Sound like this is two bugs and this PR fixes one of them.

@mrajwa
Copy link
Contributor

mrajwa commented Mar 31, 2021

Yes this can only fix potential issues which may arise when we change playback params in the runtime.

@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood lgirdwood merged commit f0ecc7b into thesofproject:main Apr 1, 2021
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.

7 participants