Csound Csound-dev Csound-tekno Search About

[Cs-dev] fmaxlen

Date2005-02-04 13:46
FromAndres Cabrera
Subject[Cs-dev] fmaxlen
Hi,
While porting gab's CsoundAV opcodes, I've found the variable fmaxlen, 
which was defined not in the opcode sources but in:

Oload.c:MYFLT   sicvt, kicvt, fmaxlen = (MYFLT)MAXLEN;
Oload.c:    fmaxlen     = MAXLEN;
Oload.c:    sicvt = fmaxlen / esr;
Oload.c:    kicvt = fmaxlen / ekr;
Prototyp.h:extern MYFLT sicvt, kicvt, fmaxlen, dv32768, sstrcod;

(these are from the CsoundAV sources)
Would I be safe just adding:
MYFLT fmaxlen = (MYFLT)MAXLEN
to the opcode's function?
It builds fine.
This is for adsynt2 from newopcodes.c

Cheers,
Andres


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net