Skip to content

[BUG][TGL][DSM] old/wrong data at the beginning of released stream #2883

@bkokoszx

Description

@bkokoszx

Describe the bug
This issue happens when playback pipeline is stopped and release several times. At the beginning of released stream appears about 1 ms of old/wrong data.
image

To Reproduce

  1. Enable smart amp loopback:
    run amp_enable.sh.txt
  2. Run capture:
    arecord -Dhw:0,0 -f s32_le -r 48000 -c 4 -vv rec.wav
  3. While running capture, start playback:
    aplay -Dhw:0,0 -fS32_LE -c 2 -r 48000 -vv -i sine_48_2_32.wav
  4. Stop and release playback pipeline several times by "space" key.
  5. Check rec.wav wave.

Reproduction Rate
~1/10

Expected behavior
Proper data at the beginning of released stream.

Environment

  1. Driver: fce7f93 + ASoC: SOF: topology: add support to smart amplifier linux#1971 + https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-next&id=914f674bec6efe42f9d6b036850a618fd1698290
  2. Topology file: sof-tgl-max98373-rt5682.tplg
  3. Firmware: tgl-005-drop-stable Commit: 277a971

Metadata

Metadata

Assignees

Labels

DSMDynamic Speaker ManagementTGLApplies to Tiger LakebugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions