[wdmaudiodev] Re: accessing audiocontrols on a UAC2 device on Windows

  • From: Børge Strand-Bergesen <borge.strand@xxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 16 Jul 2016 12:06:46 +0200

Coffee is good for you :-)

Any accessible and shareable code which says "hello I'm a sound card" is a
good start.

On the USB side there is code which can say "hello I'm a Host which can do
UAC2" libusbk can be made to do that. It has good licensing but was written
for implementing most logic in user mode.

Unfortunately, I'm not your guy to get his hands dirty in kernel mode, but
I can tell you if anything made it safely into device code.


Børge

On Saturday, July 16, 2016, Dave <dhalbakken.groups@xxxxxxxxx> wrote:

Well, I just have to laugh at my idiocy. Of course. And having not drunk
my morning coffee yet is no excuse.

Dave

*From:* Tim Roberts <javascript:_e(%7B%7D,'cvml','timr@xxxxxxxxx');>
*Sent:* Saturday, July 16, 2016 06:58
*To:* wdmaudiodev@xxxxxxxxxxxxx
<javascript:_e(%7B%7D,'cvml','wdmaudiodev@xxxxxxxxxxxxx');>
*Subject:* [wdmaudiodev] Re: accessing audiocontrols on a UAC2 device on
Windows

Dave wrote:

Some time ago I found this driver that was posted as sample UAC2 driver
source code.

http://gadgetlabs.org

I’m not sure what licensing restrictions there might be to reuse any of
it, but it shows one way to build a UAC2 for a PCI device.


Well, there's a bit of a terminology issue here.  That's not a UAC2
driver.  That's an AVStream driver for a PCI audio device.  UAC by
definition means "USB" Audio Class.  I suppose it's not impossible that
this could be used as a basis, but the processing would be quite
different.  UAC2 in the general case is greatly more complicated than the
typical PCI audio device.

--
Tim Roberts, timr@xxxxxxxxx <javascript:_e(%7B%7D,'cvml','timr@xxxxxxxxx');>
Providenza & Boekelheide, Inc.


Other related posts: