Any method to change default audio device programmatically?
-
Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? (just like Skype/WMP itself hae similar function) thanks a lot~ :)
-
Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? (just like Skype/WMP itself hae similar function) thanks a lot~ :)
You have to change the values of the following registry keys...
HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper\...
Set value forPlayback
Set value forRecord
Nibu thomas Software Developer
-
You have to change the values of the following registry keys...
HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper\...
Set value forPlayback
Set value forRecord
Nibu thomas Software Developer
Thanks for you reply, however, i use regedit and cannot locate the key you mention.... any suggestion? :confused: thanks :-D
-
Thanks for you reply, however, i use regedit and cannot locate the key you mention.... any suggestion? :confused: thanks :-D
I have it and you should also have it. Please check again.
Nibu thomas Software Developer
-
I have it and you should also have it. Please check again.
Nibu thomas Software Developer
i have tried to export the registry and check but still fail to found...it sounds strange ..:((
-
i have tried to export the registry and check but still fail to found...it sounds strange ..:((
Quite strange. You should be having one. BTW what's the need for exporting registry.
Nibu thomas Software Developer
-
Quite strange. You should be having one. BTW what's the need for exporting registry.
Nibu thomas Software Developer
Just export to search in UltraEdit for confirm issue ^^ Really thanks for your help ^^