Skip to content

[BUG][SDW] Parecord can't capture audio normally(keeps repeat the latest word before change volume) if change input volume from sound setting #1927

@ClarexZhou

Description

@ClarexZhou

Describe the bug
Parecord can't capture audio normally if change input volume from sound setting

To Reproduce

  1. Capture audio via "parecord 1.wav -vvv"
  2. Open sound setting, select input source
  3. Change input source volume

Reproduction Rate
100%

Expected behavior
Parecord volume should be changed and should capture audio successfully.

Impact
Parecord can't capture audio normally if change input volume from sound setting: it keeps repeating the latest word before changing the volume.

Environment
Firmware: c7d0149 https://github.com/thesofproject/sof/commits/master
Kernel: e7fb5a5 https://github.com/thesofproject/linux/tree/integration/soundwire-latest
tplg: sof-icl-rt711-rt1308-rt715-hdmi.tplg rename sof-icl-rt711-rt1308-rt715.tplg path same as FW branch
platform: ICL RVP, with codec ALC711 -RT1308, RT715 in SDW mode

Error logger:

 CORE  LEVEL      COMP_ID                TIMESTAMP            DELTA                FILE_NAME	CONTENT
    0      1          DAI 1.4      87147399.270833  87147400.000000      src/audio/dai.c:588 	dai_check_for_xrun() error: underrun due to no data available
    0      1         COMP          87147409.166667         9.895833 of/audio/component.h:743 	comp_underrun() error: dev->comp.id = 4, source->avail = 768, copy_bytes = 0
    0      1         PIPE          87147500.625000        91.458336 src/audio/pipeline.c:833 	pipeline_copy() error: ret = -61
    0      1         PIPE 1.5      87147510.572917         9.947917 src/audio/pipeline.c:1037	pipeline_task(): xrun recover failed! pipeline will be stopped!

parecord.txt
parecord_logger.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    ICLApplies to IceLake platformbugSomething 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