[wdmaudiodev] Re: Need USB Audio device to not be the default speaker at plug-in

  • From: "David A. Hoatson" <dhoatson@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 14 May 2009 20:48:46 -0700

If you had a composite device that also supported USB disk, couldn't you
have an AUTORUN.INF that would do exactly what you want?
 
Thank you,
 
David A. Hoatson
Lynx Studio Technology, Inc.
www.lynxstudio.com <http://www.lynxstudio.com/> 
 


  _____  

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Perry, Chris
Sent: Thursday, May 14, 2009 10:48 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Need USB Audio device to not be the default
speaker at plug-in



David,

 

The idea is that when the USB phone is plugged into the USB port the image
of a phone appears on the desktop and just works.

When you click on this image it opens up. If you wish to make a call you can
use the mouse to click out the number on the displayed number pad image 

or you can just type the phone number out on your computer keyboard. If  I
am interfacing with the displayed

phone application I expect to find things happening on my USB hardware
(phone). If my USB hardware actually is a phone I could also

just press the keys on it to dial out.

 

I simply want to plug in a USB device and have it launch an application from
the device firmware with no other user

intervention needed. 

 

This means any drivers, icons, or other pieces needed on the PC will all
come from the USB device. My understanding is that Microsoft has

added OS Descriptors that can be bundled with the standard USB descriptors
in the USB firmware to make this sort of thing happen.

 

So everything should be seamless except for the unfortunate issue of the
device becoming a default speaker if the USB descriptors say

it is a speaker. 

 

So that it will not become a default speaker when plugged in,  I need to
know what "USB playback device category" should my USB descriptors present
this USB audio device as,  assuming this is the "official" method to prevent
an audio device from becoming the default.

 

-Chris

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of David A. Hoatson
Sent: Thursday, May 14, 2009 1:20 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Need USB Audio device to not be the default
speaker at plug-in

 

Wouldn't this be simple to accomplish by having a device selection in the
USB phone application?  I know this seems simplistic, but it seems there
have been so many things taken out of the end-users hands that we are now
left trying to program around an array of limitations instead of trusting
that the user really does know what they are doing.

 

Alternatively the OS would have to remember the "default" audio device for
each application independently.

 

Thank you,

 

David A. Hoatson

Lynx Studio Technology, Inc.

www.lynxstudio.com <http://www.lynxstudio.com/> 

 

 


  _____  


From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Perry, Chris
Sent: Thursday, May 14, 2009 9:52 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Need USB Audio device to not be the default
speaker at plug-in

Tim, you got me on this one J

 

Let's change the scenario to a USB phone. We only want the speaker in the
phone to

sound when a phone call is coming in or you are actively engaged in a phone
conversation.

Meanwhile the regular PC speakers play back the usual dings and dongs and
perhaps a little Mozart?

 

-Chris Perry

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Roberts
Sent: Thursday, May 14, 2009 12:42 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Need USB Audio device to not be the default
speaker at plug-in

 

Perry, Chris wrote: 

  

Suppose I am developing a USB based toy gun that comes bundled with a game.
When the user plugs in

the USB gun, the ultimate user experience would be for the game application
to launch and only render

gun sounds sent from the game application. Ideally I don't want the USB
device to show up as a device

that a user can select for as a generic speaker using the control panel
applet.


Why not?  I mean, what's the worst case scenario?  Some 14-year-old would
think it was cool to have music playing out of his gun, and then he unplugs
it and goes back to his normal audio device.

I just don't see why this is a situation that is worth worrying about.  You
wouldn't MAKE yourself the preferred device, but if some user wants to do
so, he gets what he deserves.

Right?

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: