Csound Csound-dev Csound-tekno Search About

[Cs-dev] An oddity

Date2010-07-27 11:27
Fromjohn ffitch
Subject[Cs-dev] An oddity
that is causing me problems.  Does anyone know why argdecode is called
twice, once after the messages
0dBFS level = 32768.0
Csound version 5.12 beta (double samples) Jul 26 2010
libsndfile-1.0.21pre2

and one after
STARTING FILE
Creating orchestra
Creating score

? I want to create a list from the argument and it is getting added
twice.   I think it has something to do with Top/main.c and
Top/csound.c but this is an area that i have never understood.

I can program round the double call but it is wasteful and rather silly

==John ffitch

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-27 11:43
FromVictor Lazzarini
SubjectRe: [Cs-dev] An oddity
Is it to do with calls to csoundInitialize() and then csoundCompile() ?

Victor
On 27 Jul 2010, at 11:27, john ffitch wrote:

> that is causing me problems.  Does anyone know why argdecode is called
> twice, once after the messages
> 0dBFS level = 32768.0
> Csound version 5.12 beta (double samples) Jul 26 2010
> libsndfile-1.0.21pre2
>
> and one after
> STARTING FILE
> Creating orchestra
> Creating score
>
> ? I want to create a list from the argument and it is getting added
> twice.   I think it has something to do with Top/main.c and
> Top/csound.c but this is an area that i have never understood.
>
> I can program round the double call but it is wasteful and rather  
> silly
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net