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

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 16 Apr 2015 17:57:24 -0700

Andrew Vogan wrote:

I am developing a multi-client kernel MIDI driver for a simple USB
MIDI device with a single port and bi directional traffic. By
multi-client, I mean that more than one application should be able to
open the MIDI device, send messages to the device, and receive
messages (effectively broadcast) from the device.

My customer's device is a relatively simple USB Audio MIDI Class
compliant device. No software synth, just message traffic.

Questions:

1. Do I have to write an AVStream driver to replace USBAudio.sys,
which seems like a lot of work, or can I get away with a miniport Port
Class driver?

Just as a side note, it's not at all clear that a Port-class miniport is
any less work than an AVStream miniport. If you're already comfortable
with Port-class, that may be a good enough reason to make a decision.

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

Other related posts: