[wdmaudiodev] Re: [EXTERNAL] Re: Obtaining application or audio session info for APO SFX

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 26 May 2020 16:22:14 +0000

The APOInitSystemEffects2 structure contains some information about the 
application that requested the stream – in particular, the AudioProcessingMode.
https://docs.microsoft.com/en-us/windows/win32/api/audioenginebaseapo/ns-audioenginebaseapo-apoinitsystemeffects2

Please don’t use IPolicyConfig, for anything, ever. It’s not a supported 
interface.

Don’t read too much into the dropping of audiodg.exe protection.

If an APO vendor, driver vendor, codec vendor, ODM, or OEM, wants functionality 
that Windows doesn’t support, please reach out to the Windows team with your 
feature request.

From: Edward Abramian<mailto:edwabr123@xxxxxxxxx>
Sent: Monday, May 25, 2020 3:08 PM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [EXTERNAL] [wdmaudiodev] Re: Obtaining application or audio session 
info for APO SFX

Amen. I don't want to argue about an ideology and the hierarchy it leads to. 
The reality is that ODMs, driver and codec vendors still make unilateral 
decisions on user and listening experience in regards to a particular system. I 
don't see Microsoft controlling much here, moreover the situation is somewhat 
acknowledged by dropping audiodg protection and not banning widely used 
IPolicyConfig. The claim about apps being in charge of the audio settings is a 
tunnel vision not realizing that most browsers and apps are cross platform and 
don't care about providing correct processing modes to APO or simply don't want 
to incorporate the complexity of audio content type detection.

As for 'high-end professionals', those don't listen to laptop acoustics unless 
causally when it's a Macbook 16' or similar in quality that hardware and driver 
vendors managed to build. Pro-audio users always used low latency, clock-sync 
ASIO drivers coming with professional audio interfaces. So, the audience 
Microsoft should care about is a regular consumer by helping vendors build 
quality systems. Providing process info to SFX is a minor effort on Microsoft's 
part to help write less convoluted code for solutions that market demands and 
that's all about it.

--
Edward


-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Roberts
Sent: Monday, May 25, 2020 1:36 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Obtaining application or audio session info for APO 
SFX

Edward Abramian wrote:

The task at hand is also choosing right preset, so information about the app 
may come in handy.

That's just not up to you.  When the audio system was totally redesigned
in Vista, they changed the philosophy.  The audio ecosystem prior to
that had become the Wild Wild West, with clever vendor after clever
vendor inserting "helpful" filters and customizations into the audio
stack.  The result was that the high-end professional audio application
companies started to complain that they couldn't achieve reproducible
results from system to system.

So, in the redesign, the application and the user are in charge. The
driver and any APOs are merely slaves.  You don't get to make policy
decisions.

--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.



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

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto: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%7C6ad8814f04bf41fb898108d800f82217%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637260413029395427&amp;sdata=QMj7LmZxdSdR252fiA3D8t0%2BHM2CmcXyNcjlSf8W3II%3D&amp;reserved=0

Other related posts:

  • » [wdmaudiodev] Re: [EXTERNAL] Re: Obtaining application or audio session info for APO SFX - Matthew van Eerde