[wdmaudiodev] driver/app binding

  • From: "Larry Menasco" <menasco@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 21 Nov 2007 00:43:21 -0800

Hey All,

 

I spent a half a day looking for some knowledgeable people familiar with
audio drivers, and I must say I think my looking has paid off!

 

Here's my question:  Does anyone know of a way to "bind" a particular audio
device to a particular app in such a way that no other app can have access
to that particular audio device while the first app is active?  And oh yes,
I need to be able to do it on an XP os.  I'm aware that the Vista Core Audio
API has an exclusive-mode for audio streaming that does essentially what I'd
like to do, but my particular app. needs to work with an XP based program,
so I need to stick with XP (for the moment).  The particular audio device
happens to be a USB audio device (micronas based) that when plugged in
brings up a generic composite driver, to which I am able to use waveIn and
waveOut.  Is there any way, other than writing a dedicated driver for the
usb audio devices (and at some point I plan to be using two USBs at a time)
to prevent other apps from having access?  I know if I don't elect it as the
default, then the other apps (unless specifically pointed to the device)
will leave it alone, but I would prefer not even having that as a
possibility.

 

And if it can't be done without a driver, then at least you've saved me the
time of finding that out on my own, and I'll then be back for help writing a
driver.

 

 Thanks!

 

Larry Menasco

Other related posts: