clock.allowed-rates not working on scarlet 2i2 (always resampling to 48000)
similar to #2199 (closed)
- PipeWire version: 0.3.77
- Distribution and distribution version: Gentoo Linux
- Desktop Environment: KDE plasma
- Kernel version: 6.1.41-gentoo
Description of Problem:
The whole graph is at 192000 but at the end pipewire chooses a hardware format S32P 1 48000
on a focusrite scarlett 2i2 gen 3
How Reproducible:
100% reproducible
Steps to Reproduce:
- configure allow rates to: default.clock.allowed-rates = [ 48000 96000 192000]
- configure jack to: node.rate = 1/192000
- open audacity 3.2.5 with jack backend
- try to record
Actual Results:
partial result of pw-top
R 52 1024 192000 17,0us 0,1us 0,00 0,00 0 S32P 1 48000 alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y8QZR6F0954D18-00.HiFi__scarlett2i_mono_in_USB_0_0__source
Expected Results:
pw-top should report 192000 on column format to imply no resampling was needed.
Additional Info (as attachments):
cat /proc/asound/card2/stream0
Focusrite Scarlett 2i2 USB at usb-0000:1f:00.3-2, high speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 0x01 (1 OUT) (SYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
Bits: 24
Channel map: FL FR
Capture:
Status: Running
Interface = 2
Altset = 1
Packet Size = 72
Momentary freq = 48000 Hz (0x6.0000)
Interface 2
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 0x81 (1 IN) (SYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
Bits: 24
Channel map: FL FR