[wdmaudiodev] Re: How to read discovered effects?

  • From: Dadi <dadiku@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 27 Jun 2014 16:40:47 +0300

Hi Frank and Matthew,

Thank you very much, didn't know this API is available from Desktop API.

Best Regards,
Eldad



2014-06-26 20:08 GMT+03:00 Frank Yerrace <Frank.Yerrace@xxxxxxxxxxxxx>:

>  Also, depending on how much software you can change, you can just try
> starting with a DeviceInformation object instead of an IMMDevice.
> DeviceInformationObject IDs can be passed to ActivateAudioInterfaceAsync to
> get to the same IAudioClient APIs as IMMDevice::Activate gets to.
>
>
>
> *From:* wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:
> wdmaudiodev-bounce@xxxxxxxxxxxxx] *On Behalf Of *Matthew van Eerde
> *Sent:* Thursday, June 26, 2014 9:56 AM
> *To:* wdmaudiodev@xxxxxxxxxxxxx
> *Subject:* [wdmaudiodev] Re: How to read discovered effects?
>
>
>
> This is the only API, but it works from both desktop and Store apps; I
> don’t know why the documentation claims it is only for Store apps.
>
>
>
> You can use the PKEY_AudioEndpoint_GUID property to match active IMMDevice
> objects with their corresponding
> Windows.Devices.Enumeration.DeviceInformation objects. You can get a list
> of DeviceInformation objects by passing
> Windows.Media.Devices.MediaDevice.GetAudioRenderSelector() or
> .GetAudioCaptureSelector() to Windows.Devices.Enumeration.CreateWatcher or
> .FindAllAsync.
>
>
>
> There’s a sample for the audio effects discovery API here:
> http://code.msdn.microsoft.com/windowsapps/Audio-effects-discovery-5fd65c15
>
>
>
> *From:* wdmaudiodev-bounce@xxxxxxxxxxxxx [
> mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx>]
> *On Behalf Of *Dadi
> *Sent:* Thursday, June 26, 2014 9:45 AM
> *To:* wdmaudiodev@xxxxxxxxxxxxx
> *Subject:* [wdmaudiodev] How to read discovered effects?
>
>
>
> Hi,
>
> We need to programmatically get the active effects of a given IMMDevice.
>
>
> We found API at:
>
> http://msdn.microsoft.com/en-us/library/windows/apps/windows.media.effects.aspx
>
> However this API is in Metro apps only but we need to read the active
> effects from a desktop application.
>
> How can we do that? What API should we use?
>
> Thank you,
>
> Eldad
>

Other related posts: