if thats the case, there is audio controler from nvidia that make that mess on windows 11, i had the same problem had to switch the audio ouput every time, i did a uninstall of the audio driver to make it work all the time, sorry if i cant give the name but i remember is...
On Windows, you can use Windows Update or Device Manager to find a driver. If using Cygwin or WSL on Windows, you have to convert the Windows-style name into an Unix-style path (COM1 -> /dev/ttyS0, and so on). (This is not necessary if using esp-idf for ESP32 with the ...