Gstreamer pulsesink on roc tunnel stutters
- PipeWire version (
pipewire --version
):0.3.43
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Debian GNU/Linux 11 (bullseye) - Desktop Environment: Gnome
- Kernel version (
uname -r
): 5.10.0-10-amd64
Description of Problem:
When I play an audiofile with gestreamer-pulsesink like gst-launch-1.0 filesrc location="/somewhere/foo.flac" ! decodebin ! pulsesink
through an roc tunnel, audio output is stuttering.
Using the pipewiresink like gst-launch-1.0 -v filesrc location="/somewhere/foo.flac" ! decodebin ! pipewiresink
, there no sound distortion.
This is a problem as at least for now all auto constructed gstreamer pipelines seem to use the pulsesink and accordingly the audio output of all gstreamer apps (like clementine) is distorted.
The issue may be somehow related to 2045, as by starting pavucontrol with volume meters enabled the problem has gone. Same with opening the audio tab of gnome-control-center (there also is a volume meter)
Output of pw-top:
S ID QUANT RATE WAIT BUSY W/Q B/Q ERR NAME
28 1024 48000 922.1µs 0.6µs 0.04 0.00 0 Dummy-Driver
53 0 0 20.0µs 625.8µs 0.00 0.03 0 + roc-sink
56 3969 44100 46.9µs 68.5µs 0.00 0.00 0 + Clementine
82 1 25 33.8µs 12.7µs 0.00 0.00 0 + GNOME Settings
! 29 0 0 0.0µs 0.0µs 0.00 0.00 0 Freewheel-Driver
! 39 0 0 0.0µs 0.0µs 0.00 0.00 0 Midi-Bridge
! 46 0 0 0.0µs 0.0µs 0.00 0.00 0 v4l2_input.pci-0000_00_14.0-usb-0_8_1.0
! 38 0 0 0.0µs 0.0µs 0.00 0.00 0 alsa_output.pci-0000_00_1b.0.analog-stereo
50 1024 48000 124.7µs 1.1µs 0.01 0.00 1 alsa_input.pci-0000_00_1b.0.analog-stereo
111 1 25 72.5µs 20.9µs 0.00 0.00 1 + GNOME Settings
! 65 0 0 0.0µs 0.0µs 0.00 0.00 0 audioanlage.trx
! 62 0 0 0.0µs 0.0µs 0.00 0.00 0 audioanlage.roc
Regards, Jan.