After updating F40 to KDE 6.1.x and resuming from sleep, Firefox to longer plays videos/sounds. Youtube is showing continues "loading circle", when you click somewhere on the progressbar is shows motion for 1/4 sec (no sound) and then again stops. Yandex.Music does not play music in FF, progressbar is not moving as well. Same with Chrome. Ryzen 5800X AMD RX480 KDE 6.1.2 (started with 6.0.0) Framework 6.3 QT 6.7.2
KWin doesn't control audio or video playback. Most likely Pipewire's breaking for you, you can maybe try restarting it to test that
Indeed, it helps...