[linux-audio-dev] [ANN] Bandlimited LADSPA Oscillator Plugins ('BLOP') v0.2.6

Mike Rawes mike_rawes at yahoo.co.uk
Tue Feb 4 18:43:00 UTC 2003


On Tue, 4 Feb 2003 14:51:41 -0800 (PST)
Tim Hockin <thockin at hockin.org> wrote:

> > The code snippet looks okay to my eyes:
> > 
> >     loop_index = loop_index == 0 ?  1 : loop_index;
> >     loop_index = loop_index > 64 ? 64 : loop_index;
> >     int rst = f_round_i(reset);
> >     int i;
> > 
> > Where's the error? 
> 
> you can't declare a variable except at the top of a block.  Newer
> compilers let you, and I think C99 supports it.  Don't count on it
> yet, too many people with old compilers.

Yes. That'll be it. Dang. I've obviously been doing too much C++
recently... I'll fix it and put out another release...

Mike
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




More information about the Linux-audio-dev mailing list