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

  • From: "Mike Kemp" <mjk@xxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sun, 24 Jul 2016 15:15:55 +0100

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 "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

       
             
        Microsoft/Windows-driver-samplesWindows-driver-samples - This repo 
contains driver samples prepared for use with Microsoft Visual Studio and the 
Windows Driver Kit (WDK). It contains both Uni... 
       
        檢視於 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 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: