| yes, with breaking down the parsing and compilation, we might need to rethink csoundPreCompile().
Maybe it will also need to be renamed? csoundPrepare()?
Also, setting of engine state might need to be reconsidered?
> csound->engineState |= CS_STATE_COMP | CS_STATE_CLN;
Victor
On 25 Apr 2012, at 14:34, Tito Latini wrote:
> Is it a problem if I move some initialization from csoundCompile
> to csoundPreCompile ?
>
> csound->printerrormessagesflag
> init_pvsys(csound);
> csound->csRtClock = (RTCLOCK*) csound->Calloc(csound, sizeof(RTCLOCK));
> csoundInitTimerStruct(csound->csRtClock);
> csound->engineState |= CS_STATE_COMP | CS_STATE_CLN;
> O->filetyp = -1;
> O->sfheader = 0;
> csound->peakchunks = 1;
> create_opcodlst(csound);
>
> + csound messages
>
> tito
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |