[wdmaudiodev] Re: sAPO

  • From: amd 22102018 <amd22102018@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 2 Apr 2019 23:57:33 +0530

My algorithm contains various(2 to 3) modules which includes various header
files and .c source files.
How ever my Slate Audio Sample code and Swap apo is written in .cpp and
this algorithm is MATLAB converted .c files. Is it Ok in using both c and
C++ in single project.

In SwapAPO in APOProcess "process swap" which is present in swap.cpp is
doing the job.

First my job is to hook this New APO to audio engine and to the Slate Audio
Sample Driver and to get initialization and APOProcess calls from the audio
driver.

I want to hook this to the capture graph. How can this be done. I know I
capture graph we can't implement Effects as GFX it can only be implemented
as LFX.

Please help me in doing this,share the sample documents and samples or
links if any.



On Tue, 2 Apr 2019, 11:44 p.m. Matthew van Eerde, <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

Start with SwapAPO, which is already hooked up to the .inf, and has the
necessary hooks.



Change the CLSIDs to avoid collisions with other APOs that started with
SwapAPO.



Change the implementation of APOProcess to use your custom processing
instead of swapping the left and right channels.


------------------------------
*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx>
on behalf of Help Engineers <helpforengineers2017@xxxxxxxxx>
*Sent:* Tuesday, April 2, 2019 11:07:30 AM
*To:* wdmaudiodev@xxxxxxxxxxxxx
*Subject:* [wdmaudiodev] sAPO

How to convert the existing MATLAB Algorithm.which I've converted to the C
Code using MATLAB Coder as the sAPO. How can it be Converted to the Dll by
adding Entry Point Function to it i.e DllMain.
I've tried this by creating ATL Project and tried to replicate the
swapapo. But I'm confused.

This is the  flow of SWAPAPO

Initialize
IsInputFormatSupported
IsOutputFormatSupported
LockForProcess
APOProcess
UnlockProcess

Provide me the sample algorithm which can be converted to the sAPO and
hook to the Audio Driver via the entries in INF.

Tell me how to proceed with some examples.

From where can i get the Code of the Plugins(Effects) present in Audacity.

Note:- Don't tell me to go through APOProcess

Other related posts: