Whale42 I'm having the same issue on a Pixel 8 with the 2024070201 update: I connect my IEMs with a USB-C cable - that has worked flawlessly since March - and if I pause the audio at any point, it'll disconnect the DAC after a few seconds, which has led to some situations where I press play without paying attention and it starts playing music through the speakers at max volume. To note, as long as the music keeps playing, the device will not disconnect, so that rules out any hardware malfunction, making this 100% a software issue.
It can happen in any app that plays audio, including Spotify, voice messages from Signal / WhatsApp / Telegram and Youtube videos playing in Vanadium.
GrapheneOS For the record, I have tried changing the USB default configuration and also tried disabling developer options and restarting the device, but the issue persists.
I did some experiments and used the same IEMs and cable in two other devices - a Xiaomi Redmi Note 7 and a OnePlus 5T, both running LineageOS 21 - and they do not have the same issues, even after leaving them plugged into each device for 30 minutes.