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

  • From: "Jerry Evans" <jerry@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sun, 24 Jul 2016 15:34:33 +0100

Still not quite sure why MS don't have an out the box driver for this class 
though. 

 

+1. We keep asking ...

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Kemp
Sent: 24 July 2016 15:16
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: accessing audiocontrols on a UAC2 device on Windows

 

Thanks again all. I have now have an API and interface lib from the driver 
supplier that works ok barring a few details we are ironing out. That should be 
sufficient for now - unless we decide to start looking at our own UAC2 driver, 
if time and budget ever permits! Or we want to try bypassing the driver for 
audiocontrol purposes...

 

Regards to all

 

Mike

 

BTW: Tzung-Dar Tsai: this is our own multichannel audio i/o device that 
implements a standard UAC2 interface, currently working fine with OSX 
coreaudio. Still not quite sure why MS don't have an out the box driver for 
this class though. 

----- Original Message ----- 

From: Tsai Tzung-Dar (Redacted sender  <mailto:dmarc-noreply@xxxxxxxxxxxxx
"tdtsai1973" for DMARC) 

To: wdmaudiodev@xxxxxxxxxxxxx 

Sent: Thursday, July 21, 2016 4:48 AM

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

 

Hi Mike:

No, it only have one driver. In Windows Vista and later OSes Audio driver 
contain two part, one is sAPO in user mode another is Kernel mode driver. I 
think you can reference to sysvad sample code to know how to enumerate Device 
Specific Node in endpoint property page. And how to implement Device Specific 
node in kernel mode driver. Here is the sample code URL:

Microsoft/Windows-driver-samples 
<https://github.com/Microsoft/Windows-driver-samples/tree/master/audio/sysvad

        
        
 <https://github.com/Microsoft/Windows-driver-samples/tree/master/audio/sysvad
image

                                        


 <https://github.com/Microsoft/Windows-driver-samples/tree/master/audio/sysvad
Microsoft/Windows-driver-samples 

Windows-driver-samples - This repo contains driver samples prepared for use 
with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both 
Uni...

        


 <https://github.com/Microsoft/Windows-driver-samples/tree/master/audio/sysvad
檢視於 github.com

Yahoo 預覽

        
        
                                                                

 

You also can reference follow URL to use IKSControl in you endpoint property 
page.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd316787(v=vs.85).aspx

Then you can control your Extension unit by use  
<https://msdn.microsoft.com/zh-tw/library/windows/desktop/dd371121(v=vs.85).aspx>
 IDeviceSpecificProperty to Enable/Disable Extension Unit. And use IKSControl 
to send detail control to driver and send to your device. By the way what USB 
Audio Class 2.0 controller you used? Are you implement standard USB ADC 2.0 
device? If you need know more detail or you want a some thing to try you can 
email me. 

 

BR,

Tzung-Dar Tsai


 

Other related posts: