[wdmaudiodev] Re: Driver model for multi-client MIDI

  • From: Andrew Vogan <andrewvog@xxxxxxxxx>
  • To: wdmaudiodev <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 6 May 2015 09:57:44 -0400

On Wed, May 6, 2015 at 9:30 AM, Alexander Spasov <a.s.spasov@xxxxxxxxx>
wrote:

I'd say that PortClass is designed for external buses, but does not
strictly enforce them. I've seen virtual audio devices using all three wave
models (cyclic, pci, rt (yes, for rt, it's in one of the MS samples)), plus
MIDI/Dmus/well.. everything. I guess you should be able to do a USB one,
unless there's something blocking you from sending IRPs down the stack
(haven't done any usb drivers, so you quite likely know better ;) ).


To be clear, I need to support an arbitrary number of different USB devices
(matched by VID/PID), several of which may be plugged in at the same time.
This is for DJs with pro audio equipment, and they're notorious for
stringing together a bunch of equipment. So when MSDN says that PortCls
doesn't support external buses, I assumed that my use case is what it's
talking about. I'd love to find out otherwise, though.

Currently I'm working on my AVStream driver, and attempting to imitate the
pin factories listed from UsbAudio.sys via KsStudio.

Other related posts: