-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Describe the bug
While testing audio playback on hw:0,0 on UPX-i11 board I have checked pause/resume with aplay -i (holding key to rapid pause/resume) and after few seconds the audio playback got corrupted.
The playback continued normally, firmware reported no issues, but the audio is completely distorted, high pitched and garbled.
To Reproduce
aplay -iv -Dhw:0,0 file.wav (48K 16bit)
Sounds good, no distortion.
Now, press and HOLD the <SPACE> key to rapid pause/resume aplay.
After few seconds you can hear that the sound starts to be up-shifted pitched, now release and if it is paused, press it again to resume.
Audio is pitched up, distorted, garbled
Not affecting HDMI (ChainDMA).
The same issue present on DeepBuffer PCM (-Dhw:0,31)
Reproduction Rate
10/10
Expected behavior
audio is not distorted
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: topic/sof-dev or upstream linux-next
- SOF: ebaa142
- Name of the topology file
- Topology: sof-hda-generic.tplg
- Name of the platform(s) on which the bug is observed.
- Platform: TGL (UPX-i11)
Screenshots or console output
nothing out of ordinary in logs, all looks error free.