[wdmaudiodev] Re: How to set Default endpoint for Vista installation?

  • From: Mitchell Rundle <mitchr@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 28 Mar 2007 07:54:02 -0700

Frank is correct that the speaker is chosen over headphones and SPDIF as the 
default if no other endpoint has been explicitly set to be the default (either 
by inf or the cpl).  However, if your inf has a SetupPreferredAudioDevices 
entry for these endpoints, then each will be set in turn to be the preferred 
device and when installation is complete the default device will be the last 
one processed.  The processing order follows the ids of the bridge pins.  In 
other words if the SPDIF, speaker and headphone bridge pins are 1, 2, 5, 
respectively, then the headphone will end up being the default.

The solution is to remove SetupPreferredAudioDevices from the inf, or reorder 
the pins.

Regards,
Mitch Rundle

This posting is provided "AS IS" with no warranties, and confers no rights.

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Frank Yerrace
Sent: Tuesday, March 27, 2007 11:01 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: How to set Default endpoint for Vista installation?

The Vista heuristics should pick the speaker automatically. There may be some 
problem in how your device is describing itself. For starters, you should 
confirm that the form factor property 
(http://msdn2.microsoft.com/en-us/library/ms679150.aspx) in the endpoint's 
property store is Speakers.

Frank Yerrace
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.


From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of KS
Sent: Tuesday, March 27, 2007 8:31 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] How to set Default endpoint for Vista installation?

Hi,

I have an audio device which exposes a SPDIF, speaker and headphone endpoints 
as rendering endpoints. Currently, after a fresh installation, the headphone 
endpoint is always set as the default endpoint by the OS. Is there any way in 
which I can specify for the speaker endpoint to be selected as the default 
endpoint instead?

Thanks


KS

Other related posts: