So I have an ASUS ROG Strix x670e-f with a Ryzen 7 9800X3D and on a fresh install I have an issue where in any video game application, there are audio cut outs (as in once every 30-60 seconds the audio will cut out for a brief moment (as in, the audio will stop for a moment before restarting).
Now the main issue is that this motherboard uses a ALC4080 codec. It’s somewhat problematic as its actually running over the USB interface, and there was a bug specifically with S/PDIF, but that was supposedly fixed with a firmware update.
The current workaround I have in place is to configure Wireplumber to firstly disable autosuspend (session.suspend-timeout-seconds = 0) and then fixing the format of the audio to
audio.format = "S24_3LE"
audio.rate = 192000
api.alsa.period-size = 512
This seems to work, but I don’t have high confidence it will work in all cases. Setting the rate to 192000 seems necessary to prevent cutouts generally (something that I find less surprising, as when I was on Windows I had to set it to that to prevent crackling in some scenarios), and then a period-size of 512 seems to be the minimum to allow it to seem stable.
For me whilst it looks like I have a solution, there’s a part of me that feels like this isn’t the right solution. Particularly as I feel like there would be more cases out there of people with this specific issue with similar solutions whilst I largely had to trial and error this solution..