I am new to this forum and to forum posting in general, so please forgive me in advance if I make a mistake in posting protocol. :sulkiness:
I have searched for the last several days for help on how to set the volume in my VB application, and I have found a lot of info about using the DefaultAudioEndpoint, which I am easily able to control - no problem. However, I can't seem to find an example of how to control the volume of both the speaker AND headphones, which becomes a particular problem when either is unplugged or plugged in while my application is running. Because these endpoints come and go from the windows sound Playback devices list, I keep ending up with no control over the volume. Can anyone please point me in the right direction for how this is supposed to be done? Thanks very much for any help.
John
I have searched for the last several days for help on how to set the volume in my VB application, and I have found a lot of info about using the DefaultAudioEndpoint, which I am easily able to control - no problem. However, I can't seem to find an example of how to control the volume of both the speaker AND headphones, which becomes a particular problem when either is unplugged or plugged in while my application is running. Because these endpoints come and go from the windows sound Playback devices list, I keep ending up with no control over the volume. Can anyone please point me in the right direction for how this is supposed to be done? Thanks very much for any help.
John