Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3341] csound.c in csound5 cvs

Date2003-11-16 21:06
Fromstevenyi
Subject[CSOUND-DEV:3341] csound.c in csound5 cvs
Hi all,

I'm working on getting csound.c working with csound5 cvs and have a
couple of questions.  The latest version I just checked in has
references to runincomponents changed to frsturnon, as that seemed liked
the correct change looking at code from musmon.c and widgets.cpp.  

One change I needed to make was this:

/* warning("Exceeded maximum number of environment paths"); */
        csoundMessage(csound, "Exceeded maximum number of environment
paths");

Is this the correct way to do it?  (this is lines 973-974 in the latest
csound.c in csound5 cvs).  

Now in compiling this latest version, all I have left is an undefined
reference to inbuf, line 305.  This is in the function:

 void *csoundGetInputBuffer(void *csound)
  {
    return inbuf;
  }

which I'm having a hard time finding.  Any ideas here?

Thanks,
steven

Date2003-11-17 00:03
From"Matt J. Ingalls"
Subject[CSOUND-DEV:3345] Re: csound.c in csound5 cvs
i have a bunch of changes to that buffer stuff
that should
fix things like
that i can send to you if you
want - or maybe its time i figure out sourceforge...

-m

On Sun, 16 Nov 2003, stevenyi wrote:

> Hi all,
>
> I'm working on getting csound.c working with csound5 cvs and have a
> couple of questions.  The latest version I just checked in has
> references to runincomponents changed to frsturnon, as that seemed liked
> the correct change looking at code from musmon.c and widgets.cpp.
>
> One change I needed to make was this:
>
> /* warning("Exceeded maximum number of environment paths"); */
>         csoundMessage(csound, "Exceeded maximum number of environment
> paths");
>
> Is this the correct way to do it?  (this is lines 973-974 in the latest
> csound.c in csound5 cvs).
>
> Now in compiling this latest version, all I have left is an undefined
> reference to inbuf, line 305.  This is in the function:
>
>  void *csoundGetInputBuffer(void *csound)
>   {
>     return inbuf;
>   }
>
> which I'm having a hard time finding.  Any ideas here?
>
> Thanks,
> steven
>
>

Date2003-11-17 12:32
Fromjpff@cs.bath.ac.uk
Subject[CSOUND-DEV:3359] Re: csound.c in csound5 cvs
>>>>> "stevenyi" == stevenyi   writes:

 stevenyi> Now in compiling this latest version, all I have left is an undefined
 stevenyi> reference to inbuf, line 305.  This is in the function:

 stevenyi>  void *csoundGetInputBuffer(void *csound)
 stevenyi>   {
 stevenyi>     return inbuf;
 stevenyi>   }

This need rethinking.  A move to PortAudio may change the whole
structure of in and out buffering.  Before committing yourself to too
much work, look at how portaudio is to be used.

==John ffitch