Maybe I wasnt clear. I am desiging an application, which utilizes say the IE control. Now MOST VIDEO sites and such use MOVE NETWORKS, FLASH, etc. How to control where this sound is to be output?
Their is no way. :( Its up to the user EXIT MY application. Set a default devide in control panel, Start my application, go back to control panel and reset the default...
Not sure thats what a user experience to the positive effect would be called....
Hakon Strande wrote:
It would be worse design to let all of the ISVs battle it out for which device is the system default device. Apps simply don't get to set the system's default devices - they can pick based on the form factor info they can get through the MMDEVAPI which allows you to make a more EDUCATED pick - for your app only - based on more info about the available/connected audio peripherals. Sincerely, Hakon Strande | Software PM | Microsoft Hardware | (p) 425.705.0637 -----Original Message----- From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Shawn Lewis Sent: Tuesday, June 02, 2009 10:53 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: Changing default audio device in Windows 7. How about for Internet Explorer?? IE doesnt have a means of selecting a sound device to use?? Their are a LOT apps that dont have the ability to select the desired output device. And in if i were to create my own web browser say using MS WebBrowser control (which is nothing more than IE COM wrapped), their is NO WAY for me to set the appropriate sound output device before beginning my session. So clearly - BAD DESIGN My 2 cents. Shawn Hakon Strande wrote:This is By Design. Default Audio device is a system/user setting. Keep in mind that if every app did this there would be a war for the default device so you should NEVER do this in an app. Enumerate the connected and active devices and pick the one you think is most appropriate for your app and then stream to that BUT if you do that you loose Win7 features associated with the Default Device and the Default Communication Device such as stream routing. Bottom line: Don't muck with the users/system default device assignment because your actions would affect all other app experiences on the system, not only yours. Sincerely, Hakon Strande | Software PM | Microsoft Hardware | (p) 425.705.0637 -----Original Message----- From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of mana Sent: Tuesday, June 02, 2009 1:54 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Changing default audio device in Windows 7. Hi everyone, I am developing the virtual audio driver based on MSVAD sample. My goal is to capture audio output on the system and pass to user mode application. These are running without trouble, but I have one problem. I want to change the default audio device from my application, without using the CPL applet. In Vista, I gave up the way to change the default audio device from my application because there is no public mechanism (APIs) to do this. Is there any new mechanism to change the default audio device in Windows 7? I installed new Windows SDK for Windows 7 and investigated whether new interface was added to Core Audio API. But I could not find new interface that fills my request. Thanks & best regards, Mana. ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/ ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/ ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/