[wdmaudiodev] Re: Changing default endpoint and speaker configuration on Vista

  • From: Jim Barber <jim@xxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx,<wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 16 Oct 2006 19:04:14 -0700

Hi Hakon,

Just to be clear, are you saying that MS wants to avoid IHV
control panels/GUI's changing those parameters? Mike wasn't referring
to 3rd-party recording applications. That would result in the bulk of the
audio settings being done in the IHV app and then the user being required to
go to the MS property pages only to change the default endpoint and/or
the output mode. Is this the intent?

Thanks,
--jim

At 06:17 PM 10/16/2006, Hakon Strande wrote:

>These are user settings only in Vista. We want to avoid applications
>fighting over what device is the default and what speaker config it
>thinks the user likes. 
>
>The device driver exposes the multi-channel formats the hardware
>supports and the OS speaker config exposes these to the user selecting
>the configuration with the highest number of channels as the default.
>
>The audio endpoints get set to default based on a prioritized list
>starting with Speakers at the top on the render side:
>
>1. Speaker
>2. Headphone
>3. S/PDIF
>
>As an audio device driver you expose the logical devices supported by
>your audio device and the user controls what device is actually used.
>
>Hakon Strande
>PM Integrated, Internal, External, and Wireless Audio Devices
>MediaTech/DMD/Windows Client/Microsoft
>
>-----Original Message-----
>From: wdmaudiodev-bounce@xxxxxxxxxxxxx
>[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Michael R.
>Preston
>Sent: Monday, October 16, 2006 5:09 PM
>To: wdmaudiodev@xxxxxxxxxxxxx
>Subject: [wdmaudiodev] Changing default endpoint and speaker
>configuration on Vista
>
>Can anyone (possibly someone from Microsoft) answer this?
>
>I've been looking through all the MMDevice-related API documentation. 
>In IMMDeviceEnumerator, there's a function called 
>GetDefaultAudioEndpoint() to get the default audio endpoint.  How can 
>you programmatically change the default audio endpoint?  There's no 
>corresponding SetDefaultAudioEndpoint() function.  Similarly, there 
>doesn't seem to be any function to set the endpoint's speaker 
>configuration.  I've tried using the high-level DirectSound interface, 
>or calling Activate on the IMMDevice interface to get a pointer to 
>IDirectSound, but neither of these seems to have any effect.  The call 
>to SetSpeakerConfig() succeeds, but doesn't actually change anything. 
>Is there any way other than by using the Sound control panel?
>
>Thanks,
>Mike Preston
>-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>|            Mike Preston          | Home/Office: (360)756-1655 |
>| E-mail: mike@xxxxxxxxxxxxxxxxxxx |        Cell: (360)303-9331 |
>|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
>|     The man who follows the crowd will usually get no         |
>|     further than the crowd.  The man who walks alone is       |
>|     likely to find himself in places no one has ever been.    |
>|                     -- Alan Ashley-Pitt                       |
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>******************
>
>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: