Skip to content

Conversation

@RanderWang
Copy link
Collaborator

Progress bar of audio player disappears when it is dragged by
mouse. In this case pipeline is first paused then reset.Driver
checks the llp position in memory windows by node id. Driver
can't find llp position since fw cleared node id. This patch
reserves node id for pause-reset case and only reset llp position.
The node_id will be cleared when dai is free.

Signed-off-by: Rander Wang rander.wang@intel.com

Progress bar of audio player disappears when it is dragged by
mouse. In this case pipeline is first paused then reset.Driver
checks the llp position in memory windows by node id. Driver
can't find llp position since fw cleared node id. This patch
reserves node id for pause-reset case and only reset llp position.
The node_id will be cleared when dai is free.

Signed-off-by: Rander Wang <rander.wang@intel.com>
@RanderWang RanderWang requested review from lgirdwood and removed request for lgirdwood March 15, 2022 09:53
@lgirdwood
Copy link
Member

@tmleman fyi

@RanderWang RanderWang changed the title ipc4: dai: reset llp position to 0 for dai_reset ipc4: refine reset state to fix audio player issue in windows Mar 16, 2022
Progress bar of audio player disappears when it is dragged by
mouse. In this case pipeline is first paused then reset, paused
started again. Cd data is initialized when copier is created and
will not be initialized again after reset operation, so we can't
clear cd data in reset state, only reset stream position and used
dai or host.

Signed-off-by: Rander Wang <rander.wang@intel.com>
@lgirdwood lgirdwood merged commit b6eaf11 into thesofproject:main Mar 16, 2022
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.

3 participants