| According to John Fitch the plugins should work on OS X, so you might want
to take another look at what he has done and move his stuff into what you
have done.
============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
Silence, a language for programming music and sound
Available at http://sourceforge.net/projects/silencevst/
============================================
----- Original Message -----
From: "stevenyi"
To: "Csound Developers Discussion List"
Sent: Wednesday, November 05, 2003 1:50 PM
Subject: [CSOUND-DEV:3292] load_opcodes.c
> Hi all,
>
> I went ahead and modified load_opcodes.c in a way I think has cleaned it
> up. I have checked into Csound4 CVS a csound.c with stubs removed and
> load_opcodes.c with new code.
>
> The #ifdef's now define csoundOpenLibrary, csoundCloseLibrary, and
> csoundGetLibrarySymbol per platform. csoundLoadExternal and
> csoundLoadExternals were redone to be dependent on the first three
> functions, so they're now compiled in regardless. csoundLoadExternal
> and csoundLoadExternals should fail gracefully if the other three
> functions aren't implemented.
>
> csoundLoadExternals was changed to implement how it is being used in
> dl_opcodes.c, which is to look at cglobs.oplibs for a comma-separated
> string of library paths. This was done so that load_opcodes.c and
> csound.c can now be a drop in replacement of jpff_glue.c and
> dl_opcodes.c.
>
> It can probably be modified easily to implement the other functionality
> that was in the previous load_opcodes.c, which is to look for an
> environment variable and crawl the directory. One easy way I guess
> would be to make a comma-separated list from the directory, then join
> that with the one in cglobs.oplibs, then proceed from there.
>
> I have not tried this on Windows, but it looks like it would work fine.
> Mac functions are not implemented.
>
> Please let me know if this modification breaks anything for those using
> csound.c and load_opcodes.c.
>
> Thanks!
> steven
>
> p.s. - csoundLoadExternals as implemented is not as described in
> csound.h, but this is how it was implemented in dl_opcodes.c.
> |