Skip to content

[BUG] Smart Amp needs to handle pause/stop like a mixer/mux #3837

Closed

Description

@plbossart

Describe the bug

The Smart Amp by construction takes as sources the playback stream and the capture feedback stream.
When pausing or stopping the smart amp, we need to make sure the state of the feedback stream is taken into account. If the feedback is active or paused, the component needs to remain active.

This should be generalized to ALL components that take multiple sources into account.

This is a potential reason for issues with the multiple-pause-resume tests that fail on a recurring basis on TGL SoundWire chromebook.

To Reproduce
run multiple-pause-resume tests.

Reproduction Rate
100%

Expected behavior
the smart amp deals with pause gracefully no matter whether the playback or feedback streams are paused/stopped.

Impact
This does not impact ChromeOS (Pause is not used) but wrecks our CI tests, and in general keeps SOF from correctly dealing with components with multiple sources.

Activity

  1. added
    bugSomething isn't working as expected
    on Feb 10, 2021
  2. added a commit that references this issue on Feb 10, 2021
  3. self-assigned this
    on Feb 24, 2021
  4. added this to the v1.8 milestone on Feb 24, 2021
  5. lgirdwood commented on May 10, 2021

    @lgirdwood
    Member

    In progress for v1.9 as part of the codec adapter and component alignment work

  6. modified the milestones: v1.8, v1.9 on May 10, 2021
  7. modified the milestones: v1.9, v2.6 on Feb 15, 2023
  8. kv2019i commented on Feb 15, 2023

    @kv2019i
    Collaborator

    @ranj063 @aiChaoSONG @RanderWang Is this old topic now covered with latest SOF main?

  9. aiChaoSONG commented on Feb 20, 2023

    @aiChaoSONG
    Collaborator

    @kv2019i The smart amp now is able to pass multiple-pause-resume and multiple-pipeline stress test after #7099 and #7100

  10. lgirdwood commented on Feb 21, 2023

    @lgirdwood
    Member

    @aiChaoSONG thanks, lets give it a few days in daily test and we can close this issue if smart amp is good..

  11. lgirdwood commented on May 10, 2023

    @lgirdwood
    Member

    Closing as smart amp handled differently with IPC4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PipelineSDWSoundWireTGLApplies to Tiger LakebugSomething isn't working as expected

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions