Skip to content

[BUG][DSM] Channel 3,4 are empty when testing with S16_LE format #2679

@keqiaozhang

Description

@keqiaozhang

Describe the bug
Tested the DSM on TGL, S24_4LE and S32_LE are working well. but when testing with S16_LE format, channel 3 and 4 are empty in the recorded wav. From waveform, it looks like the data of channel 3 and 4 are mixed in channel 1 and 2.

DSM

To Reproduce
aplay -Dhw:0,0 -f S16_LE -r 48000 -c2 sine_s16_le_48k.wav --dump-hw-params & arecord -Dhw:0,0 -f S16_LE -r 48000 -c 4 -d 10 DSM.wav -vv

Reproduction Rate
5/5

Expected behavior
channel 3,4 should also have data

Impact
no data in Channel 3 and 4, and channel 1 and 2 data are also wrong.

Environment

  1. Kernel: thesofproject/linux topic/smart-amp
  2. Sof: thesofproject/sof tgl-004-drop-stabe
  3. Tplg: sof-tgl-smart-amplifier.m4 (rename it to sof-tgl-nocodec.tplg
  4. Platform:TGL

trace-dsm.txt
dmesg-dsm.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    DSMDynamic Speaker ManagementP3Low-impact bugs or featuresTGLApplies 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