| I suggest you call it csoundReset, and make it do what you want. In other
words, we don't want too many API calls out there, we want to factor out
the functionality into a small, orthogonal set of calls.
If one would always need to call csoundReset and csoundInitialize before
csoundCompile, and that doesn't mess up anything else, then
csoundInitialize should be folded into csoundReset.
If one can't always do csoundReset and what you propose for
csoundInitialize at the same time, then they need to be different calls,
but I would prefer a more descriptive name, like csoundInitializeModules or
something.
It's fine with if you do the work, as long as you test your fixes with
CsoundVST. It does build on Linux. Or you'd prefer that I do it, that's
fine too, just tell me what you want to happen in the code.
Original Message:
-----------------
From: Istvan Varga istvan@csounds.com
Date: Sat, 05 Feb 2005 19:02:44 +0100
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Csound API -- modules
gogins@pipeline.com wrote:
> Consequently, clients of the API must now do this:
>
> csoundReset
> csoundCompile
> csoundPerform
If clients need to be changed, we might just as well do:
csoundInitialize
csoundCompile
csoundPerform
Where csoundInitialize would contain (among others) code that you
have removed from csoundCreate, and, of course csoundReset.
> Istvan, please let me know if this creates any problems for you.
With your changes, the current CVS sources do not compile. However,
as long as you agree with the csoundInitialize idea (suggestions on
a better name ?), I can fix things myself.
-------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/csound-devel
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
-------------------------------------------------------
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 |