RejZoR:
For example, even when not using BT headphones, the audio would first be just muted for like 3 seconds and then audio would be out of sync for Youtube videos for several seconds after you start playing the video and somewhat gets in sync over time although it still feels like audio is lagging behind by some 10 milliseconds. Same issue when using BT headphones.
The only thing I could think of is the suspend timeout. While on some chipsets you hear a popping, it doesn’t occur on your chipset, but a delay? I am just guessing. Here is what I did:
Most likely it is pipewire and the 5 sec idle pop when it suspends. Most soundcards suspend quietly, some not.
mkdir -pv ~/.config/wireplumber/main.lua.d/
nano ~/.config/wireplumber/main.lua.d/51-disable-suspension.lua
Then put this into it:
table.insert (alsa_monitor.rules, {
matches = {
{
-- Matches all sources.
{ "node.name", "matches", "alsa_input.*" },
},
{
-- Matches all sinks.
{ "node.name", "matches", "alsa_output.*" },
},
},
apply_proper…