Skip to content

copier: fix no consume for multi endpoint copy - #7987

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
btian1:fix_multiend_consume
Jul 31, 2023
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
btian1:fix_multiend_consume

Conversation

@btian1

@btian1 btian1 commented Jul 27, 2023 •

Copy link
Copy Markdown
Contributor

In last time copier code split, it split multi-endpoint copy and module copy with commit: e424b87, source buffer consume was missed, added it back with this PR.

Fixes:#7979

@btian1
btian1 force-pushed the fix_multiend_consume branch from b6e0bc7 to 4b328b2 Compare July 27, 2023 07:58
@btian1 btian1 changed the title [RFC]copier: fix no consume for multi endpoint copy copier: fix no consume for multi endpoint copy Jul 27, 2023
@btian1
btian1 marked this pull request as ready for review July 27, 2023 07:58
Comment thread src/audio/copier/copier.c Outdated

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.

if (!ret)
     comp_update_buffer_consume(src_c, processed_data.source_bytes);

@btian1
btian1 force-pushed the fix_multiend_consume branch from 4b328b2 to af2cf01 Compare July 28, 2023 09:57
Comment thread src/audio/copier/copier.c Outdated
@btian1
btian1 force-pushed the fix_multiend_consume branch from af2cf01 to 57c757f Compare July 28, 2023 12:43
@aiChaoSONG

aiChaoSONG commented Jul 31, 2023 •

Copy link
Copy Markdown
Collaborator

Small improvement suggestion:
It is important to mention what bug a commit fixes, or the previously commit that brings the bug. This makes the git history much more trackable.

In the commit message, with last time change is descriptive and not specific, it didn't mention the commit id, people will spend time to find what is the last time change, let's save their time.

Please also add Fixes: #7979 in commit message.

@btian1
btian1 force-pushed the fix_multiend_consume branch from 57c757f to fec2c8b Compare July 31, 2023 05:53
In last time copier code split, it split multi-endpoint copy and
module copy with commit: e424b87, source buffer consume was missed,
added it back with this PR.

Fixes:thesofproject#7979

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
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.

6 participants