Open evanc577 opened 3 years ago
This sounds like the kind of issue linked to PipeWire's dynamic latency switching. MPD probably requests high latency like Spotify do. Once you open something else that requests low latency the buffer size goes from very big to very small and this is something we can listen to.
In older releases we did not follow the dynamic latency changes. We were forcing PipeWire to always have a small latency value. So when most apps started the latency was already low and this audio buffer size change did not happen. The problem with this approach is that cpu is wasted when only high latency apps are running.
This sounds like the kind of issue linked to PipeWire's dynamic latency switching. MPD probably requests high latency like Spotify do. Once you open something else that requests low latency the buffer size goes from very big to very small and this is something we can listen to.
In older releases we did not follow the dynamic latency changes. We were forcing PipeWire to always have a small latency value. So when most apps started the latency was already low and this audio buffer size change did not happen. The problem with this approach is that cpu is wasted when only high latency apps are running.
Is there any way to fix this? Whenever I have Discord running while listening to music, every ping makes it do this and it destroys the music.
Is there any way to fix this?
Depending on which plugins you use things will be better in the next release 6.2.0
. But not entirely fixed. One way to fix this problem is forcing PipeWire to use a fixed latency. Or using environmental variables to force MPD to use a low latency.
If an audio stream is playing, and another audio stream is started or stopped, all applied effects are disabled for a split second before being re-enabled again. This is especially noticeable when using effects that change volume, and manifests sudden changes in volume.
I did not have this issue with PulseEffects + Pipewire.
To reproduce:
Having some applications open, such as pavucontrol or OBS, prevent the issue from occuring.
Alternative method:
Get spammed with Discord notifications while listening to music.
Version:
Easyeffects 6.0.3-2 from Arch Linux repo, though this affects all versions of Easyeffects since release
Platform:
Logs:
easyeffects_debug.txt pw-dump.txt