I have been trying to detect changes of the default audio playback device in my VB.NET application.
Unfortunately, most examples I could find were based on C#. So I tried to translate it to VB.NET, but I seem to do something wrong.
The most simple example I could find was this one: https://stackoverflow.com/a/33945287/9399239
Despite its simplicity I was not able to to make it work in VB.NET, so that I had to give up.
Could someone perhaps have a very simple example like the one linked, to notify changes of the default sourd device, but in a working VB.NET variant?
Thanks for your kind help.