What do you see if you run the audio effects discovery sample on your private
APO?
https://github.com/microsoftarchive/msdn-code-gallery-microsoft/tree/master/Official%20Windows%20Platform%20Sample/Audio%20effects%20discovery%20sample
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> On
Behalf Of Denis Shemanaev
Sent: Saturday, May 7, 2022 11:03 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [EXTERNAL] [wdmaudiodev] Audio Signal Processing Modes and Where to
Find Them
Some people who received this message don't often get email from
denis.shemanaev@xxxxxxxxx<mailto:denis.shemanaev@xxxxxxxxx>. Learn why this is
important<https://aka.ms/LearnAboutSenderIdentification>
Greetings list,
I'm trying to modify EqualizerAPO to switch audio processing based on the mode
(to apply rnnoise for "Communications" category mostly) and am stuck with a
problem: APO always gets a "Default" mode within `APOInitSystemEffects2`[1]
regardless of application (Discord, Telegram, Browsers).
Is there anything to be done besides implementing `IAudioSystemEffects2` and
setting `PKEY_SFX_ProcessingModes_Supported_For_Streaming`[2] registry key to
accepted modes (I set all of available)?
Or maybe I completely missed something from the docs and SwapAPO[3] sample?
[1]:
https://docs.microsoft.com/en-us/windows/win32/api/audioenginebaseapo/ns-audioenginebaseapo-apoinitsystemeffects2<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fapi%2Faudioenginebaseapo%2Fns-audioenginebaseapo-apoinitsystemeffects2&data=05%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cd3844a11786f484859c408da3054032f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637875434939280695%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=0t0rUXgGa68UVNS8mjBO6pe95YtyCgpzekPjPJHTwWE%3D&reserved=0>
[2]:
https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/pkey-sfx-processingmodes-supported-for-streaming<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fdrivers%2Faudio%2Fpkey-sfx-processingmodes-supported-for-streaming&data=05%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cd3844a11786f484859c408da3054032f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637875434939330684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=O4%2BudhjCB63AMsaw7COIpU4S7wfy6IohnPuWVyHZMu8%3D&reserved=0>
[3]:
https://github.com/microsoft/Windows-driver-samples/tree/master/audio/sysvad/APO/SwapAPO<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindows-driver-samples%2Ftree%2Fmaster%2Faudio%2Fsysvad%2FAPO%2FSwapAPO&data=05%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cd3844a11786f484859c408da3054032f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637875434939330684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=nJCSCul0NnH2nxz9SQwIx6n%2Br%2BCsS1yl5It9INq2%2F7Q%3D&reserved=0>