[wdmaudiodev] Re: Locating a specific APO's endpoint

  • From: Jeffrey Hoekman <jeffhoek@xxxxxxxxxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 26 Jan 2007 13:11:56 -0800

AudioEngineBaseAPO.idl defines these keys:

PKEY_FX_PreMixEffectClsid, PKEY_FX_PostMixEffectClsid

 

If an audio endpoint has SysFX APOs installed on it then these keys
should be present in the registry under:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\A
udio\Render\{guid-representing-endpoint}\FxProperties.  The values under
these keys correspond the APO CLSIDs.  Let me know if this helps. - JH

 

This posting is provided "AS IS" with no warranties, and confers no
rights.

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Alexandra
Schoepel (Ally)
Sent: Tuesday, January 23, 2007 3:47 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Locating a specific APO's endpoint

 

Thanks for your response, Jeff.

 

I was unable to find a public property store key in the MS documentation
that could be used to retrieve necessary information for matching the
APO's CLSID.  Additionally, I've enumerated the endpoint properties and
looked for a match to the APO's CLSID which is known to be installed on
my test system.

 

Would such a property store key be specific to the device installation?
If so, I was hoping for a transparent solution.

 

From a previous thread I initiated, I understand the solution which
involves modifying the .inf file to add a custom property and locate it
based on the custom value which works well when you have control over
the inf or unique information about the installation.  Unfortunately, I
need a solution which is not tied to specific knowledge about the
endpoint installation or ability to edit this installation; I am only
equipped with the CLSID of the APO itself.  The MMAudio APIs don't seem
to service this need generically.

 

Is there a mechanism without knowing the endpoint's special properties?
Or have I not searched hard enough? :)

 

Thanks again,

Ally


 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jeffrey Hoekman
Sent: Tuesday, January 23, 2007 2:16 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Locating a specific APO's endpoint

For the APO you should be able to simply call CoCreateInstance with the
CLSID (GUID) corresponding to the APO.  For Endpoint association you
will probably need to use MMDeviceAPI and look for the CLSIDs in the
relevant property store. -Jeff

 

This posting is provided "AS IS" with no warranties, and confers no
rights.

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Alexandra
Schoepel (Ally)
Sent: Monday, January 22, 2007 1:26 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Locating a specific APO's endpoint

 

Hi all, 

I need to write a routine which determines if a specific APO is
available as well as the endpoints/devices supporting this APO.  Can
anyone describe a simple way to obtain this information knowing the
GUID/Name of the APO only, or direct me to the documentation/interfaces
required to accomplish this?

Thanks, 
Ally 

Other related posts: