Describe the bug
Playback the file captured from "device 27: DMIC0 RTC AEC" with CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y, and hear the speed is doubled.
To Reproduce
Start spk playback:
aplay -Dhw:0,1 -c2 -r48000 -fS16_LE /home/LR.wav -vv
Start spk feedback capture:
arecord -Dhw:0,29 /tmp/tmp.wav -c2 -r48000 -fs32_le -vv
Start AEC capture:
arecord -Dhw:0,27 /tmp/mock_aec.wav -c4 -r48000 -fs32_le -vv -d20
Reproduction Rate
100%
Environment
-
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
-
Name of the topology file
-
Name of the platform(s) on which the bug is observed.
Please also include the relevant sections from the firmware log and kernel log in the report (and attach the full logs for complete reference).
mtrace.txt
dmesg-mock-aec.txt
mock_aec.zip