[wdmaudiodev] Re: Finding and Locking USB Audio Device from Application

  • From: "Daniel E. Germann" <deg@xxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 31 Oct 2003 08:07:06 -0600

Hi, Mark.

I don't think there's a way to prevent a device from becoming the preferred
audio device.  Take a look at this message thread in the wdmaudiodev
archives:
//www.freelists.org/archives/wdmaudiodev/03-2003/msg00014.html

-Dan

----- Original Message -----
> Date: Wed, 29 Oct 2003 16:38:59 -0800 (PST)
> From: Mark Miller <marklosangeles2003@xxxxxxxxx>
> Subject: [wdmaudiodev] Finding and Locking USB Audio Device from
Application
>
> Hopefully this post isn't too basic or off-topic for this mailing list.
>
> I have developed a composite HID / audio USB device.  It enumerates
successfully and works. I am using the usbaudio.sys and hidusb.sys class
drivers and do not have any .inf files or overtly made any registry
additions or modifications for this device.
>
> But it becomes the preferred audio device and all audio goes through it.
I want my application to use the device exclusively and leave the preferred
audio device settings as the were before this USB device was plugged in.
Also, I don't want this device to show up as a choice in the mixer at all.
>
> Is there a simple sequence of code to do this or do I need to read scads
of information to figure it out?
>
> Any push towards a book, website, msdn location, etc. would be appreciated
if it cannot be answered easily in this mailing list.
>
> Thanks,
>
> Mark

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

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.de/

Other related posts: