Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] interfaces lib building in windows with MSVC

Date2005-10-29 00:14
From"Michael Gogins"
SubjectRe: [Cs-dev] interfaces lib building in windows with MSVC
I agree, remove Compile from Perform. It is simpler and more flexible.

Regards,
Mike

----- Original Message ----- 
From: "Istvan Varga" 
To: 
Sent: Friday, October 28, 2005 4:49 PM
Subject: Re: [Cs-dev] interfaces lib building in windows with MSVC


> Michael Gogins wrote:
> 
>> I do not wish to make assumptions about what thread starts when,
> > or where, or whether Compile is implied or not.
> > This is unnecessarily complex.
> >
>> It is better for any and all Perform loops to bail out if Stop
> > is called. That would be so much easier to understand for
> > programmers using the API and should not be hard to implement.
> 
> Well, the only change I have suggested is moving out compilation
> from csoundPerform() so that it is possible to continue the performance
> if it is stopped (as opposed to finished or failed). That means
> that instead of
> 
> csoundPerform(csound, argc, argv);
> 
> you would have
> 
> csoundCompile(csound, argc, argv);
> csoundPerform();
> 
> This is only slightly more complex, but more flexible, as in the
> first case you cannot re-call csoundPerform() again to continue
> a stopped performance. It also makes it enough to have one "stop"
> function (name anyone ?) that causes csoundPerform() to return
> early.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net