Re: [LAU] Sanity check needed: Fons's Auto Wah on 64-bit system and CPU usage?

From: <fons@email-addr-hidden>
Date: Fri Jan 15 2010 - 13:06:11 EET

On Fri, Jan 15, 2010 at 01:27:52AM -0800, Ken Restivo wrote:

> I'm just shaking my head over here. I have no idea what is going on.

One thing you could try is this:

void Ladspa_Autowah::runproc (unsigned long len, bool add)
{
+ memcpy (_port [A_OUT], _port [A_INP], len * sizeof (float));
+ return;

    int i, k;
    float *inp = _port [A_INP];
    float *out = _port [A_OUT];
    ...
}

This will just copy the input to the output. If this gives
non-trivial CPU load, something else (outside this plugin)
is going wrong.

Ciao,

-- 
FA
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Jan 15 16:15:01 2010

This archive was generated by hypermail 2.1.8 : Fri Jan 15 2010 - 16:15:02 EET