Hello, I have two sound outputs in Windows (loudspeakers and a headset) and I change between them using the Windows panel but as all of you with the same setup have probably noticed wotlk doesn't see changes and keeps outputting the sound through the same device until you restart the client.
I know I can go to sound settings and change the output device there but it's less than ideal.
/run AudioOptionsFrame_AudioRestart()
or
/run Sound_GameSystem_RestartSoundSystem()
To be used after swapping the Audio from Windows side. Might be the only feasible option.
Lower option works with Dragonflight as well, upper works with pre-DF.