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

  • From: Mitchell Rundle <mitchr@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 29 Mar 2007 08:01:31 -0700

It sounds like you need to get rid of all the endpoint settings so you can 
simulate a first install.

1) delete the contents of 
HKLM\software\microsoft\windows\currentversion\mmdevices\audio\render
2) net stop audioendpointbuilder
3) net start audiosrv

For step 1 you will have to change the owner of the key to "administrators" 
first.

Regards,
Mitch

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


________________________________
From: KS [wakeup1504@xxxxxxxxx]
Sent: Wednesday, March 28, 2007 10:26 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Cc: Mitchell Rundle
Subject: Re: [wdmaudiodev] Re: How to set Default endpoint for Vista 
installation?

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<mailto: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> 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>]
 On Behalf Of Frank Yerrace
Sent: Tuesday, March 27, 2007 11:01 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto: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> 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>]
 On Behalf Of KS
Sent: Tuesday, March 27, 2007 8:31 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto: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

******************

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: