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. I suspect it could be
adapted to USB use.
Dave
From: Børge Strand-Bergesen
Sent: Saturday, July 16, 2016 00:07
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: accessing audiocontrols on a UAC2 device on Windows
OK, let me know if you want to dig into the driver I'm using. In the meantime
I'm glad you're getting answers from the pros on this list.
In an ideal world we could split the job of a full UAC2 driver into small
enough chunks that we could cooperate on making it. If this is of interest to
anybody I'm happy to voluntare working audio device hardware where any kind of
USB communication can be connected to a UART debug interface.
Børge
On Fri, Jul 15, 2016 at 6:49 PM, Mike Kemp <mjk@xxxxxxxxxxxx> wrote:
Sounds interesting and thanks to Matthew van Eerde for his link.
Borge: This does sound interesting - I think I had a quick look at that or
something similar before. It's true we are not happy with the commercial UAC2
drivers we have looked at so far, though may be forced to go with one of them
due to time pressure. Even then a working experimental driver might be useful
to resolve some of the issues. I plan to spend some time next week researching
options so any info on the open source solution would be very interesting...
Thanks for these comments...
Mike
----- Original Message -----
From: Børge Strand-Bergesen
To: wdmaudiodev@xxxxxxxxxxxxx
Sent: Friday, July 15, 2016 5:34 PM
Subject: [wdmaudiodev] Re: accessing audiocontrols on a UAC2 device on
Windows
Mike,
this is probably totally far-fetched. With the DAC I sell
(www.henryaudio.com) there is an open source UAC2 ASIO driver based on libusbk.
It works well and could maybe be a source of inspiration for what you are
looking for. If you want I can send you the gory details and pointers to the
code in github.
Børge
On Fri, Jul 15, 2016 at 6:30 PM, Mike Kemp <mjk@xxxxxxxxxxxx> wrote:
Hi
I am wondering if anyone can suggest where to look to find out how to
access audio controls on a UAC2 audio device on Windows?
We have a UAC2 device that runs fine on Mac OSX using coreaudio and we
can access extension units on the device control endpoint using libusb to
control various aspects of our device.
For PC use we intend to license a commercial UAC2 standard Windows audio
driver, and we have a couple of candidates for evaluation. Although these allow
audio workstations to use our device I want to make our remote control
application send and receive data to various extension units on our hardware
(via the control endpoint 0) the same as on Mac OSX.
The question is whether there is a standard API to access these controls
that all UAC2 drivers implement the same way, or whether this is likely to vary
with each driver implementation? If there is a standard that will allow me to
open the device control endpoint and exchange data, where might I look for that
information?
I've tried googling it, but unfortunately results for UAC2 are usually
swamped with unrelated UAC issues which seem to be a hotter topic!
Thanks for any pointers..
Mike