Csound Csound-dev Csound-tekno Search About

[Cs-dev] from csoundCompile to csoundPreCompile

Date2012-04-25 14:34
FromTito Latini
Subject[Cs-dev] from csoundCompile to csoundPreCompile
AttachmentsNone  

Date2012-04-25 14:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] from csoundCompile to csoundPreCompile
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

Date2012-04-25 14:58
FromTito Latini
SubjectRe: [Cs-dev] from csoundCompile to csoundPreCompile
AttachmentsNone  

Date2012-04-25 15:50
FromTito Latini
SubjectRe: [Cs-dev] from csoundCompile to csoundPreCompile
AttachmentsNone