| Does the new FtFind() also finds non-power-of-two
tables? Does it do the ftfind() and ftnp2find() jobs?
Did I get this right? Instead of
auxalloc(...);
now do we do
csound->AuxAlloc(...);
or
csoundAuxAlloc(...);
in a plugin opcode initialiser function?
In any case this sounds like a great improvement.
Thanks a lot.
Victor
>
> Steven Yi wrote:
>
> > So how do the following sound to everyone:
> >
> > void csoundAuxAlloc(ENVIRON * csound, long nbytes,
AUXCH
> > * auxchp) FUNC * csoundFtFind(ENVIRON * csound,
MYFLT *
> > arg) MYFLT * csoundGetTable(ENVIRON * csound, int
> tableNum)
>
> The following function pointers are now in ENVIRON:
>
> void (*AuxAlloc)(void *csound, long nbytes, AUXCH
> *auxchp);
> FUNC *(*FTFind)(void *csound, MYFLT *argp);
> MYFLT *(*GetTable)(void *csound_, int tableNum, int
> *tableLength);
> void *(*Malloc)(void *csound, size_t nbytes);
> void *(*Calloc)(void *csound, size_t nbytes);
> void *(*ReAlloc)(void *csound, void *oldp, size_t
> nbytes);
> void (*Free)(void *csound, void *ptr);
>
> The corresponding internal functions are:
>
> csound->AuxAlloc: csoundAuxAlloc
> csound->FTFind: csoundFTFind
> csound->GetTable: csoundGetTable
> csound->Malloc: mmalloc
> csound->Calloc: mcalloc
> csound->ReAlloc: mrealloc
> csound->Free: mfree
>
> The sources (including all opcodes) have been modified for
> these changes.
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products
> from real users. Discover which products truly live up to
> the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |