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

  • From: KS <wakeup1504@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 29 Mar 2007 13:26:41 +0800

Hi Mitchell,

I've tried

1) Reorder the bridge pins so that the speaker bridge pin is the last pin
2) Remove SetupPreferredAudioDevices from the inf
3) Both 1) and 2)

Nothing seems to have changed. I'm using a usb audio device that exposes
only speaker and SPDIF render endpoint, and the SPDIF endpoint is always
chosen as the default endpoint after installation on all 3 occassions. Using
the MS default usbaudio.sys driver gives the same result. Is there anything
else that I can try? Thanks.


KS


On 3/28/07, Mitchell Rundle <mitchr@xxxxxxxxxxxxx> wrote:

 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: