#1040207 pipewire: Playing audio from JuK results in the beginning of all tracks messed up

Package:
pipewire
Source:
pipewire
Description:
audio and video processing engine multimedia server
Submitter:
Russell King
Date:
2023-07-04 09:09:02 UTC
Severity:
normal
#1040207#5
Date:
2023-07-03 13:29:31 UTC
From:
To:
Dear Maintainer,

Using pipewire with JuK under Debian Stable (Bookworm) with an Anker
Soundcore 2 results in the beginning of every track being messed up.
I've also noticed similar oddities when playing audio from Firefox.

More precisely, when the track begins, the first bit of audio heard is
not the start of the track. Then there's a brief pause where there is
no audio. Then the track resumes from the first snippet of audio.

This destroys the user listening experience, so much so that I have
now switched back to using Pulseaudio on Bookworm, which appears to
be flawless when playing tracks from Juk.

#1040207#10
Date:
2023-07-03 15:36:16 UTC
From:
To:
Hi,

Le lun. 3 juil. 2023 à 15:39, Russell King
<rmk+debian@armlinux.org.uk> a écrit :

Are you using your Anker Soundcore 2 via bluetooth? It could be a bluetooth
issue. Could you try to connect your speaker via a jack wire to discard any
bluetooth issue if any.

Do you use wireplumber as session manager for pipewire?

Dylan

#1040207#15
Date:
2023-07-03 16:32:26 UTC
From:
To:
Yes I am, in both cases. It has been consistently fine under pulseaudio
with Bullseye. Upgrading to Bookworm which switched over to pipewire
exhibited the issue consistently. Switching Bookworm back to pulseaudio
and the issue goes away.

I don't have a cable to connect via a jack, sorry.

It seems the upgrade to Bookworm installed that for me, and logs show
that it had been running. In terms of "use", until you mentioned it, I
was unaware of it.

#1040207#20
Date:
2023-07-04 09:03:23 UTC
From:
To:
Le lun. 3 juil. 2023 à 18:32, Russell King
<rmk+debian@armlinux.org.uk> a écrit :

It could be a bluetooth regression, I would suggest to try the latest version
of pipewire since 0.3.65 is quite old now. As soon as the bookworm-backports
repositories are open, I will upload a newer version of pipewire + wireplumber.
Once you can reproduce this issue with a more recent version of pipewire,
it is worth opening a bug upstream at:
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues

I asked because some users use the deprecated pipewire-media-session
session manager instead of wireplumber.