You use to be able to fix it by switching the audio source in-game, applying, then switching back to the correct one and applying again. That has worked since either Legion or WoD. It was still buggy (sometimes switching audio sources to something that isn’t your system default would just output on the system default anyway), but at least you could avoid fully restarting the game.