| >>>>> "Anders" == Anders Andersson writes:
Anders> Hello!
Anders> It was a while ago since I last touched the Amiga version of CSound, but
Anders> now I have got a new job where I can work with CSound on payed time, so
Anders> now I will be more productive.. =)
Anders> If someone is interested in making the official changes to the public
Anders> source, I've summed these here:
Anders> 1. There seems to be a problem with using "stdin" and "stdout" outside of
Anders> any function with GCC on Amiga, so I had to patch three sources, namely
Anders> "rdscor.c", "midirecv.c" and "pvanal.c".
Anders> To solve it, I just put "NULL" instead of "stdin" or "stdout". It seems
Anders> to work so I guess the pointers are initiated elswhere in the code
Anders> before they are used.
Anders> If we can't have "NULL" in the public source (yes, i know, it's
Anders> ugly..), then it would be nice if I got a conditional like this in the
Anders> three sources:
Anders> ------------------------
Anders> #ifdef AMIGA
Anders> FILE *oscfp = NULL;
Anders> #else
Anders> FILE *oscfp = stdout;
Anders> #endif
Anders> ------------------------
Anders> Is this possible?
This has already been done some time back
Anders> 2. In the file "midirecv.c" I needed to include .
Anders> This would be nice to have as a conditional, like:
Anders> ---------------------
Anders> #ifdef AMIGA
Anders> # include
Anders> #endif
Anders> ---------------------
Done
Anders> 3. This is a general bug in the source.
Anders> At the bottom of the functions sfoppenout() and sfcloseout() in the
Anders> file "soundio.c" you have missed to add a final #else to the long
Anders> conditional.
Anders> #else "(IRCAM)"); should be inserted before the final #end.
Already done
Anders> 4. In the file "sysdep.h" I would like to add:
Anders> --------------------------------
Anders> #ifdef AMIGA
Anders> #define tell(x) lseek(x,0L,1)
Anders> #endif
Anders> --------------------------------
done
==John ffitch
-- |