Issue: playing CS2 and talking on Discord is impossible - the game audio cuts off after a certain time and never comes back.
Solution: Create a virtual device using some pipewire trickery and then use that virtual device as the output device in CS2.
- Save output of
pactl listto a file (get this package installed if you don't have it) - Search for
SinkwithState: RUNNINGin the file we created in the previous point, in my case it looked like this:
Sink #52
State: RUNNING