Hello,
I would like to report that my audio device problem with AirPods is now fixed, there are no errors when switching devices. However...
this might not be a device specific problem. If anybody with multiple sound cards could test this, it would be very appreciated, because sound device switching basically seems to be very unstable for me.
The only one that works 100 percent of the time and is consistent are streams. If I switch streams from automatic to sound card 2, which is not the default device, everything works correctly and they play on the second sound card. Switching them back to the default sound card 1 also works perfectly.
However, for notifications and sounds, the situation is different.
Here, switching them from the default device to sound card 2 basically has no effect, all sounds still continue playing on the default device.
If, however I switch notifications to sound card 2, then restart the client, it works. However, switching them back to sound card 1 again just causes them to continue playing on sound card 2, so for sounds and notifications it seems to be necessary to restart the client each time you change the output device.
I think I have an idea of why this is the case. Here are the tests I performed and my idea.
I created a private free table. The sound for joining a table played, this is a notification sound and it played on the default device.
I wrote a chat message. The chat sound also played.
Now, I opened options and switched the output device for notifications from the default to the second sound card.
If I try the joining sound or the chat sound, they play still on the default - old device.
However, if I try a different notification sound, for example sending a private message, this one plays on the second device I have just switched to.
I think the problem here might be that the first time a sound is loaded and played, it for some reason remembers the output device, and even if it has been switched, old sounds which have already been played at least once continue playing on the old output device.
That would also explain why it always works for streams, since here it's a new sound to stream every time.
I hope this was a clear enough explanation, I would be ready to clarify or test anything else if needed.
I also clarify that in V2, this problem doesn't exist. There, an old sound plays on the default device, and when switching the output device, if you try to cause the same sound to be repeated, the output device is correctly switched.
Thanks.