Hi Mitch, I've tried out your suggestion, but I'm still unable to get the speaker endpoint to be selected as the default endpoint. Basically, my device has only 1 filter, with 6 pins, in the following order. 1. wave render pin 2. SPDIF-Out bridge pin 3. ac3 render bridge pin 4. wave capture pin 5. mic input bridge pin 6. speaker bridge pin The filter is registered under KSCATEGORY_AUDIO, KSCATEGORY_RENDER and KSCATEGORY_CAPTURE The INF does not have the SetupPreferredAudioDevice entry. What else can be done to get the speaker endpoint to be selected as the default? Thanks for any advice. KS _____ From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Mitchell Rundle Sent: Wednesday, April 04, 2007 4:06 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: How to set Default endpoint for Vista installation? The class driver shouldn't interfere. When your driver installs, the devnode will get a new "strong name", which invalidates the existing endpoints. You can test this as follows: 1) Let the USB class driver install 2) Run mmsys.cpl 3) Dbl-click the SPDIF endpoint and change the name to "test" 4) Install your driver 5) Dbl-click the new SPDIF endpoints. It should have the default name. Mitch From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of KS Sent: Monday, April 02, 2007 6:23 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: How to set Default endpoint for Vista installation? hi Mitch, I've tried what you say, and also tried on a freshly installed Vista System. On both system, I still end up having the SPDIF-Out endpoint selected as the default endpoint instead of the Speaker endpoint. As my device is a USB audio device, the MS usbaudio.sys driver gets loaded once before I can install my driver. Would this be a reason why I just cannot get the Speaker endpoint to be the default endpoint? Are there any other way to specify to Vista which endpoint should be the default? It would be nice if it can be specified in the INF file, just like the way we can specify the default format to be used. KS On 3/29/07, Mitchell Rundle <mitchr@xxxxxxxxxxxxx> wrote: 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 <mailto: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 <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: <mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> 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: <mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> wdmaudiodev-bounce@xxxxxxxxxxxxx>] On Behalf Of KS Sent: Tuesday, March 27, 2007 8:31 AM To: wdmaudiodev@xxxxxxxxxxxxx<mailto: 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/