* As explained in this microsoft documentation
(https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/wrapping-or-replacing-windows-vista-sapos).
This documentation helps audio driver developers reuse Windows-provided
processing functionality within the audio driver’s APO.
There are supported mechanisms to write an app and impact all audio to and from
your app; or to write a driver for a piece of hardware and impact all audio to
and from that hardware; but there is no supported mechanism to write an app and
impact all audio on the system.
What is the scenario where you think you need this? Feel free to reply off-list
if you prefer.
From: Antoine Cochet<mailto:entonia01@xxxxxxxxx>
Sent: Wednesday, September 13, 2017 12:42 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: Applying custom effects to audio input
I understand you point now, thank you for your explanation.
Working with a non-hardware vendor, would wrapping the system supplied sAPOs a
possible solution to this problem?
As explained in this microsoft documentation
(https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/wrapping-or-replacing-windows-vista-sapos<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fdrivers%2Faudio%2Fwrapping-or-replacing-windows-vista-sapos&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C4040612cb02141d6431508d4fa7aeb89%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636408853268578053&sdata=MhxoY72e3DNV%2BKzSgi4paVhnozvQxV1zPzHdrclVEG4%3D&reserved=0>).
Maybe installing custom made sAPOs for user's default microphone or audio input
device could be the way, I'm not sure if it's possible.
Another optionI found is using XAudio2, but I don't know if can apply effects
in the audio stack the way I want it.
Anyways,thank you for your help, I will do more research on that matter. If you
are aware of another solution I'd be happy to hear it.
Best,
Antoine C.
On 12 September 2017 at 19:49, Tim Roberts
<timr@xxxxxxxxx<mailto:timr@xxxxxxxxx>> wrote:
Antoine Cochet wrote:
I would like to build a custom sAPO, to be able to apply various
effects in real time to any microphone input.
Moreover, the effects would have to be placed in the audio stack in a
way that it is applied to all user applications.
I already dispose of the different algorithms to apply.
First of all, where in the audio stack should be applied and how? I've
been thinking about implementing it as an Endpoint Effect or Mode Effect.
Is there any corresponding sample of inf file or sample code for that
matter? I've tried the SYSVAD and sysfx samples but they didn't
correspond to my problem.