Skip to content

audio: mixer: Fix inactive streams handling - #7420

Merged
dbaluta merged 1 commit into
thesofproject:mainfrom
paulstelian97:mixer_module_fixes
Apr 12, 2023
Merged

dbaluta merged 1 commit into
thesofproject:mainfrom
paulstelian97:mixer_module_fixes

Conversation

@paulstelian97

Copy link
Copy Markdown
Collaborator

The previous patch 908876c introduced a bug where the wrong input buffer had the "consumed" field updated. This affected playing from only the second input stream in weird ways (specifically, sound was slower and every other period I'd get a "no bytes to copy" message from the active host component).

This patch fixes the indexing for that update.

Fixes: 908876c "audio: mixer: Improve handling of inactive input streams"

The previous patch 908876c introduced a bug where the wrong input
buffer had the "consumed" field updated. This affected playing from
_only_ the second input stream in weird ways (specifically, sound was
slower and every other period I'd get a "no bytes to copy" message from
the active host component).

This patch fixes the indexing for that update.

Fixes: 908876c "audio: mixer: Improve handling of inactive input streams"
Signed-off-by: Paul Olaru <paul.olaru@nxp.com>

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good catch!

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