Crackling when playing 8 bit WAV files via aplay or gstreamer
Version, Distribution, Desktop Environment:
Pipewire version 0.3.28-1, Fedora 34, Plasma + Wayland
Description of Problem:
Playing 8 bit WAV files via either aplay or gstreamer (gst123, specifically) causes audio crackling/popping, but the exact same files play perfectly fine via either paplay or pw-play. The crackling is accompanied by journal messages about underflow when using gstreamer, but not when using aplay. However:
- The problem doesn't go away no matter how much I increase
api.alsa.headroom
. - Playing some 16 bit WAV files via gstreamer also give messages about underflow, but have no audible crackling/popping problems.
How Reproducible:
Always.
Additional Info
pw-dump
output- Sample problem WAV file 1
- Sample problem WAV file 2
- gstreamer1 version 1.18.4-2
- pulseaudio-libs and pulseaudio-utils version 14.2-3
- alsa-libs, alsa-utils and alsa-plugins-pulseaudio version 1.2.2-5