[wdmaudiodev] Re: Issues in installing custom sAPO.

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 11 Oct 2012 10:07:14 -0700

Vinayak Srivastava wrote:
>
> I'm not working with any audio hardware vendor for my custom APO. I
> want to ship it for all the Windows systems (Vista onwards) for
> applying system effects to their system speakers. I'm not sure whether
> this is an appropriate example,

There is no appropriate example, because Microsoft simply does not
support your model.  An APO is part of an audio driver.  That's the model.


> but I could see DFX Audio Enhancer doing this to the system speakers.

But not as an APO.


> What alternative would you suggest me to accomplish this?

There is no clear and obvious path to implement general-purpose audio
effects products in Vista and beyond.  That was mostly an intentional
design decision.  There were so many poorly written effects in the
pre-Vista world that it was impossible to implement reliable
professional audio applications.


>
> I could use a Virtual Audio Driver to capture the audio, then apply
> system effects using my sAPO and reroute the sound back to the audio
> device. But I'm not sure whether this approach will be correct (so I
> could ship my APO).

But in that case, you don't really need the APO.  You could just do the
effects in your driver or in the service you use to route the data.


> I'm quite new to audio driver development, so it will helpful if you
> can provide me with any pointer or samples for this approach.

Honestly, Microsoft simply does not want you to write the kind of thing
you are contemplating.  In their model, the application is in charge,
and ought to own the entire path from metal to metal.  You might
consider writing your effects as a plug-in to some of the popular media
applications, at least to begin with.

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

Other related posts: