[wdmaudiodev] Re: identify application creating APO

  • From: "Robert Dalton Jr." <bob@xxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 14 Nov 2018 14:56:19 -0800

Thanks for the response.

I have my APOs running on all platforms (with registration and initialization 
as you mention).  The bigger issue is the lack of “category” support on  
anything < win10.  Most games do not use the eCategory parameter.

I have some work arounds, but looking for a cleaner (more reliable) solution 
for associating and APO with an app.



On Nov 14, 2018, at 2:41 PM, Matthew van Eerde (Redacted sender 
"Matthew.van.Eerde" for DMARC) <dmarc-noreply@xxxxxxxxxxxxx> wrote:

In the meantime for Windows 7, I suggest registering your APO using both the 
LFX/GFX property keys and the SFX/MFX/EFX property keys. Windows 7 will 
ignore the SFX/MFX/EFX property keys and instantiate you as an LFX, using 
APOInitSystemEffects. Windows 8.1 and Windows 10 will instantiate you as an 
SFX, using APOInitSystemEffects2.
 
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> <wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on behalf of Matthew van Eerde 
<dmarc-noreply@xxxxxxxxxxxxx <mailto:dmarc-noreply@xxxxxxxxxxxxx>>
Sent: Wednesday, November 14, 2018 1:57:33 PM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: identify application creating APO
 
Microsoft’s Windows 7 support goes away real soon…
https://blogs.msdn.microsoft.com/matthew_van_eerde/2018/09/27/so-i-have-this-audio-problem-on-windows-7/
 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fmatthew_van_eerde%2F2018%2F09%2F27%2Fso-i-have-this-audio-problem-on-windows-7%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cd861976362cd4111629608d64a7c47d3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636778295014088370&sdata=U0H9i9k4XBORPi2fTGeY2TIFI78%2B3twkcvhpXJd6LGY%3D&reserved=0>
 
Here’s a partial list of some popular applications which set 
AudioClientProperties.eCategory, which in turn induces 
APOInitSystemEffects2.AudioProcessingMode:
The Windows shell itself
Cortana
Edge
Skype
Movies & TV
The on-screen touch keyboard
Music
Store
Microsoft Photos
Microsoft Solitaire
Netflix
League of Legends
网易云音乐 (music.163.com <http://music.163.com/>)
Twitter
Destiny 2
QQ Instant Messenger
Windows Camera
Overwatch

<8716C595CDD341AEA3C436B66E3A4175.png>
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> <wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on behalf of Robert Dalton 
<bob@xxxxxxxxxxxx <mailto:bob@xxxxxxxxxxxx>>
Sent: Wednesday, November 14, 2018 1:17:12 PM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: identify application creating APO
 
Great, would you mind sharing the list of the known apps that support 
eCategory?  That would be very useful.
 
We are interested in all games, media player, and communication apps 
(non-skype).
 
Also, what do you suggest for Win7?
 
 
On Wed, Nov 14, 2018 at 1:10 PM Matthew van Eerde 
<dmarc-noreply@xxxxxxxxxxxxx <mailto:dmarc-noreply@xxxxxxxxxxxxx>> wrote:
Any particular applications that you care about though? Not looking for a 
complete list (I actually have a complete list.)
 
<42AD2325E6F0486D9351ACD0D2D82490.png>
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> <wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on behalf of Robert Dalton Jr. 
<bob@xxxxxxxxxxxx <mailto:bob@xxxxxxxxxxxx>>
Sent: Wednesday, November 14, 2018 12:22:47 PM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: identify application creating APO
 
I would say over 90% of the applications that I’ve seen don’t use the 
eCategory…too many to list here.  That’s the long-term solution and it’s not 
backwards compatible for Win7 which I still need to support and be in feature 
parity with Win10. We are still seeing over 30% of users on Win7. 
 
Bob

On Nov 14, 2018, at 11:56 AM, Matthew van Eerde (Redacted sender 
"Matthew.van.Eerde" for DMARC) <dmarc-noreply@xxxxxxxxxxxxx 
<mailto:dmarc-noreply@xxxxxxxxxxxxx>> wrote:
 
Please don’t. Instead, let’s get everyone using 
AudioClientProperties.eCategory.
 
Do you have any particular applications in mind?
 
<C8B21B05A2C041128A8B841ABBDAC46A.png>
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> <wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on behalf of Robert Dalton Jr. 
<bob@xxxxxxxxxxxx <mailto:bob@xxxxxxxxxxxx>>
Sent: Wednesday, November 14, 2018 11:53:35 AM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: identify application creating APO
 
Ideally some processing could change depending on the application.  Many 
(most) Win10 applications don’t use the Application Processing Modes and this 
isn’t available on Win7 / Win8.  I’d like to change the processing based on 
the application type in these cases.
 
 
On Nov 14, 2018, at 11:43 AM, Matthew van Eerde (Redacted sender 
"Matthew.van.Eerde" for DMARC) <dmarc-noreply@xxxxxxxxxxxxx 
<mailto:dmarc-noreply@xxxxxxxxxxxxx>> wrote:
 
No; why do you want this?
 
<4CCA96B629FE4AF2998788CAAC38B315.png>
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> <wdmaudiodev-bounce@xxxxxxxxxxxxx 
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on behalf of Robert Dalton 
<bob@xxxxxxxxxxxx <mailto:bob@xxxxxxxxxxxx>>
Sent: Wednesday, November 14, 2018 11:18:45 AM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] identify application creating APO
 
Is there any way to identify the audio session or application (by pid?) that 
the SFX APO is being created for?
 
Bob
 

 
-- 
Robert Dalton Jr.
Co-founder / CTO at Dysonics
dysonics.com 
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dysonics.com&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cd861976362cd4111629608d64a7c47d3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636778295014098378&sdata=oLJjU%2FYnERI7ehwPJXr5P3m4saS6j%2FxqPkQB%2B5LIqw4%3D&reserved=0>
c: 415-786-0265

Other related posts: