[wdmaudiodev] Re: Changing default audio device in Windows 7.

  • From: Richard Fricks <Richard.Fricks@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 2 Jun 2009 11:46:23 -0700

FYI, for Windows 7, the WMP OCX will let you specify the sound device you want 
to stream to so that should address the one scenario you describe. In general, 
applications that choose to use the default sound device instead of letting the 
user specify what device to use do so to allow for an easier user experience. 
There are always exceptions of course, so app designers can if they choose, 
design their application so that it can open any audio device and provide the 
UI to allow the user to select which device they want to audio to stream to.

Richard Fricks
Program Manager - Windows Sound Team




-----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/

Other related posts: