#1030621 pipewire: bad input sample rate result in sound too slow

Package:
pipewire
Source:
pipewire
Description:
audio and video processing engine multimedia server
Submitter:
Date:
2023-02-05 18:54:03 UTC
Severity:
normal
#1030621#5
Date:
2023-02-05 18:51:12 UTC
From:
To:
Dear Maintainer,

On a veyron/speedy armhf rockchip laptop which has max98090 sound card,
with gnome-shell and pipewire/wireplumber, I can play sound just fine, but
recording is
somewhat broken - sound is very slow, barely audible.
Before any session, doing
arecord -D hw:0,0 test.raw --rate 48000 -f S16_LE -c2
records sound just fine.
After that, recording using e.g. gnome-sound-recorder works again.