Corrupted audio from Roland USB audio devices since 0.3.81
- PipeWire version (
pipewire --version
): 0.3.82 (first noticed with 0.3.81, problem also persists in latest master if I managed to test it correctly) - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Pop!_OS 22.04 LTS - Desktop Environment: GNOME 42.9
- Kernel version (
uname -r
): 6.4.6-76060406-generic
Description of Problem:
Audio captured from my Roland MC-101 and TR-6S (synthesizers with multichannel USB audio) have very frequent dropouts. They work fine under 0.3.80.
First suspected this was because these devices only support fixed sample rates that differ from the pipewire rate, but changing the pipewire rate didn't fix the problem.
How Reproducible:
100%
Steps to Reproduce:
- Connect one or more capture channels from one of the devices to an output or an application (Ardour via Jack).
- Listen to output or record
Actual Results:
Distorted audio with what appears to be blocks of zero data of length equal to the current quantum.
Expected Results:
Distortion-free audio
Additional Info (as attachments):
-
Screenshot from recording in Ardour (extreme closeup). Top is with 0.3.81, bottom is with 0.3.80. The dropout appears to be 256 samples, which is the quantum I'm using.
-
Simple connection I used to replicate the problem.
-
pw-top output from 0.3.80 and 0.3.81 when running the above. Most notable difference to me is that there are additional devices active in 0.3.81 and above.
-
Errors from systemd log (small note, when I notice these I was running with quant 1024).