[wdmaudiodev] Re: Is there a way to list all supported format of an audio device

  • From: "Andrew Sha......" <universalkludge@xxxxxxxxxxx>
  • To: wdmaudiodev wdmaudiodev <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 16 Aug 2013 18:46:48 -0500

Exactly!
 
It looks like KSPROPERTY_AUDIOENGINE_DESCRIPTOR gives me the nOffloadPinId, 
then what?
 
I am in the user mode at the moment
 
From: Matthew.van.Eerde@xxxxxxxxxxxxx
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Is there a way to list all supported format of an 
audio device
Date: Fri, 16 Aug 2013 23:38:20 +0000









That returns the list of formats that the audio device can support at the DAC. 
You probably want the list of formats it supports for KsCreatePin.
 


From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx]
On Behalf Of Andrew Sha......

Sent: Friday, August 16, 2013 4:27 PM

To: wdmaudiodev wdmaudiodev

Subject: [wdmaudiodev] Re: Is there a way to list all supported format of an 
audio device


 

I am using KS and my first attempt was to leverage the 
KSPROPERTY_AUDIOENGINE_SUPPORTEDDEVICEFORMATS but it does not look like it 
returns what I was expecting

 




From:
Matthew.van.Eerde@xxxxxxxxxxxxx

To: wdmaudiodev@xxxxxxxxxxxxx

Subject: [wdmaudiodev] Re: Is there a way to list all supported format of an 
audio device

Date: Fri, 16 Aug 2013 23:11:17 +0000

What API are you using to stream?
 
If you’re using WASAPI, you can call IAudioClient2::SetClientProperties(…) and 
then IAudioClient::IsFormatSupported(…).
 
If you’re using KS, you can look at the data ranges exposed by the offload pin 
factory.
 


From:
wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx]
On Behalf Of Andrew Sha......

Sent: Friday, August 16, 2013 3:59 PM

To: wdmaudiodev wdmaudiodev

Subject: [wdmaudiodev] Re: Is there a way to list all supported format of an 
audio device


 

Hardware-Offloaded Audio Processing

 

http://msdn.microsoft.com/en-us/library/windows/hardware/dn302038(v=vs.85).aspx

 

So how to discover offloaded formats?

 




From: 
Robert.Bielik@xxxxxxxxx

To: wdmaudiodev@xxxxxxxxxxxxx

Subject: [wdmaudiodev] Re: Is there a way to list all supported format of an 
audio device

Date: Fri, 16 Aug 2013 06:17:17 +0000

To find out the supported formats, you need to enumerate all possible formats 
and ask the device (driver) whether
the format is supported or not. But I have no idea what “offloaded” means ?
J
 
Regards,
/Rob
 


From:
wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx]
On Behalf Of Andrew Sha......

Sent: den 16 augusti 2013 00:44

To: wdmaudiodev wdmaudiodev

Subject: [wdmaudiodev] Is there a way to list all supported format of an audio 
device


 

Hi Audio

 

Is there a way to list all supported formats of an audio device and find out 
which can be offloaded?

 

Thanks in advance

Andrew







                                          

Other related posts: