#1013242 pulseaudio only plays back at default sample rate

Package:
pulseaudio
Source:
pulseaudio
Description:
PulseAudio sound server
Submitter:
Julian Hughes
Date:
2022-06-19 20:09:03 UTC
Severity:
normal
Tags:
#1013242#5
Date:
2022-06-19 20:07:07 UTC
From:
To:
Dear Maintainer,

pulseaudio only plays back at default sample rate. The settings in
/etc/pulse/daemon.conf "avoid-resampling = true" and "alternate-sample-rate =
48000" are ineffective, though when I run `pactl list modules` my alsa cards
are shown with "avoid-resampling = true". For example:
"Module #9
        Name: module-alsa-card
        Argument: device_id="3" name="usb-
XMOS_Clover_AUDIO_XMOS_Clover_AUDIO-00" card_name="alsa_card.usb-
XMOS_Clover_AUDIO_XMOS_Clover_AUDIO-00" namereg_fail=false tsched=no
fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
avoid_resampling=yes card_properties="module-udev-detect.discovered=1""
The above is a device which supports multiple sample rates and before I updated
from Debian Bullseye to Bookworm pulseaudio did honour the
"avoid_resampling=yes" option. Now it *only* plays audio at default sample rate
set in daemon.conf

I believe this is an upstream bug as I have seen users of Red Hat/Fedora and
Arch making identical reports in their trackers.