Skip to content

[TGL][DSM] pop noise happens at the beginning of recording when playback is triggered first  #2054

@keqiaozhang

Description

@keqiaozhang

Describe the bug
when testing DSM, there's a sharp pop noise at the beginning of recording, this issue only happens when playback is triggered first, delay for a few seconds then trigger capture, you will hear that pop noise. But this pop noise was not captured in the wav file. the waveform of 4 channels are pure, even at the beginning.
DSM

To Reproduce

  1. Enable loopback mode for DSM
    run:
    amp_enable.sh.txt

  2. Trigger playback on speaker:

aplay -Dhw:0,0 -f s32_le -c 2 -r 48000 sine_48k_32bit.wav & 
  1. Delay for a few seconds
sleep 2 
  1. Trigger capture on speaker
arecord -Dhw:0,0 -f s32_le -c 4 -r 48000 dsm.wav 

Reproduction Rate
10/10

Expected behavior
no pop noise.

Environment
Driver: fce7f93 + #1971 + https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-next&id=914f674bec6efe42f9d6b036850a618fd1698290
Firmware:
SOF branch: tgl-005-drop-stable Commit: 277a9717
TPLG: sof-tgl-max98373-rt5682.tplg

dsm_dmesg.txt
dsm-logger.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    ChromeRelated to Chrome integrationI2SP2Critical bugs or normal featuresSmart AmpSmart Amp or DSM (Dynamic Speaker Management)TGLApplies to Tiger Lake platformbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions