[wdmaudiodev] Re: APO in EFX can't be disabled?

  • From: Akshay Cadambi <akshay@xxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 20 Sep 2019 10:55:10 -0700

 I managed to compile the audio effects discovery sample using VS2017 after
installing the Windows 8.1 SDK
<https://developer.microsoft.com/en-us/windows/downloads/sdk-archive>. It
seems to run on Win 10 just fine.

That being said, I agree that this does belong in
https://github.com/Microsoft/Windows-universal-samples with other samples.

Cheers,
-Akshay

On Fri, Sep 20, 2019, 08:58 Matthew van Eerde <dmarc-noreply@xxxxxxxxxxxxx>
wrote:

*scratches chin*



If I understand the audio effects discovery sample problem correctly, the
issue is that it is a legacy Store app. If we make it a Universal app
instead, and move it to
https://github.com/Microsoft/Windows-universal-samples with the other
samples, that should make it easier for developers to consume.


------------------------------
*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx>
on behalf of Matthew van Eerde <dmarc-noreply@xxxxxxxxxxxxx>
*Sent:* Friday, September 20, 2019 8:32:58 AM
*To:* wdmaudiodev@xxxxxxxxxxxxx <wdmaudiodev@xxxxxxxxxxxxx>
*Subject:* [wdmaudiodev] Re: APO in EFX can't be disabled?


Neither of the Microsoft USB Audio class drivers come with an EFX, so I’m
confused.


------------------------------
*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx>
on behalf of Artem <smirnoff.artem@xxxxxxxxx>
*Sent:* Thursday, September 19, 2019 11:17:01 PM
*To:* wdmaudiodev@xxxxxxxxxxxxx <wdmaudiodev@xxxxxxxxxxxxx>
*Subject:* [wdmaudiodev] Re: APO in EFX can't be disabled?

I'm using standard checkbox on the Advanced tab. Also the driver is
standard Microsoft USB Audio driver.

Thanks, I'll try to compile Audio effects discovery sample.

On Thu, 19 Sep 2019 at 18:28, Matthew van Eerde
<dmarc-noreply@xxxxxxxxxxxxx> wrote:

Is the “disable all enhancements” checkbox in question on the Advanced
tab or on an audio-driver-provided enhancements tab?



If it’s on the Advanced tab, it controls the
PKEY_AudioEndpoint_Disable_SysFx property.


https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fcoreaudio%2Fpkey-audioendpoint-disable-sysfx&amp;data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d2a46cf07424b397f1e08d73d92404d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045570665898123&amp;sdata=Vko%2Faz939qHy6f%2BAyMNNrPswORj6C6oiHQUwM7VJhYs%3D&amp;reserved=0
<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fcoreaudio%2Fpkey-audioendpoint-disable-sysfx&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d62e2dad11843012e5f08d73ddfe465%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045904194617856&sdata=WGdmA9KBSqUMcX5Kp%2BMUFTyoFN3c%2BTJ1C%2FLz1AtwR6I%3D&reserved=0>



If it’s on an audio-driver-provided enhancements tab, then the checkbox
does whatever the audio driver author wants it to do – hopefully this is
also to control the PKEY_AudioEndpoint_Disable_SysFx property.



Some audio processing is so essential that to turn it off risks physical
damage to the system it’s running on. In particular, if an APO advertises
that it performs speaker protection, we won’t disable it, even if the
property is set.



You can run the Audio effects discovery sample or audio effects
discovery HLK tests to see what effects are provided.


https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcode.msdn.microsoft.com%2Fwindowsapps%2FAudio-effects-discovery-5fd65c15&amp;data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d2a46cf07424b397f1e08d73d92404d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045570665898123&amp;sdata=zBTMziZtcZ7Gpg5zTTSGbsBSnaMiFuTG327EkiLqJfg%3D&amp;reserved=0
<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcode.msdn.microsoft.com%2Fwindowsapps%2FAudio-effects-discovery-5fd65c15&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d62e2dad11843012e5f08d73ddfe465%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045904194627860&sdata=637b%2BD7oo6lvDlMeItrwcdOTg79YRYufhbVVtrV73Uo%3D&reserved=0>


https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Ftest%2Fhlk%2Ftestref%2F634e1f2a-de4f-4043-aa3c-ac43da164d11&amp;data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d2a46cf07424b397f1e08d73d92404d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045570665898123&amp;sdata=AS%2BA9cfw9AWcjNq6vC84vyNbRZ9UPNfEQCk5cU%2FflaQ%3D&amp;reserved=0
<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Ftest%2Fhlk%2Ftestref%2F634e1f2a-de4f-4043-aa3c-ac43da164d11&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d62e2dad11843012e5f08d73ddfe465%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045904194637867&sdata=WJ%2B5AxiMqU3nTGcsccVv3wtJLaOS7blQfdDxeVCohak%3D&reserved=0>



From: Artem
Sent: Wednesday, September 18, 2019 11:49 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] APO in EFX can't be disabled?



Hi!

In my experiments I've found that "Disable all enhancements" checkbox
in sound device property page doesn't influence loading of EFX APO,
so it is still gets loaded by audio subsystem.

Is this by design or a bug?

OS is Windows 10 with updates.

regards,
Artem
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
<wdmaudiodev@xxxxxxxxxxxxx>
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
<wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe>
Unsubscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
<wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe>
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
<wdmaudiodev-moderators@xxxxxxxxxxxxx>

URL to WDMAUDIODEV page:

https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&amp;data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d2a46cf07424b397f1e08d73d92404d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045570665898123&amp;sdata=3f0IuLb%2Bf3EYV07gqtYkQOz2ABufUkI7R67mN0DXqbE%3D&amp;reserved=0
<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d62e2dad11843012e5f08d73ddfe465%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045904194637867&sdata=tvB4AnXX70tZ8b3wKzWdtncplw44SH3IRaJCLwDJVeg%3D&reserved=0>


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx ;<wdmaudiodev@xxxxxxxxxxxxx>
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
<wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe>
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
<wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe>
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
<wdmaudiodev-moderators@xxxxxxxxxxxxx>

URL to WDMAUDIODEV page:

https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&amp;data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d2a46cf07424b397f1e08d73d92404d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045570665898123&amp;sdata=3f0IuLb%2Bf3EYV07gqtYkQOz2ABufUkI7R67mN0DXqbE%3D&amp;reserved=0
<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4d62e2dad11843012e5f08d73ddfe465%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637045904194647879&sdata=BxuQWdF2cxcybpSBr%2FCUV8kIEmaLCNXXAZ0EmHgtSAM%3D&reserved=0>


Other related posts: