Logo Search packages:      
Sourcecode: csound version File versions  Download package

PUBLIC int csoundCompile ( void *  csound,
int  argc,
char **  argv 
)

Compiles Csound input files (such as an orchestra and score) as directed by the supplied command-line arguments, but does not perform them. Returns a non-zero error code on failure. In this (host-driven) mode, the sequence of calls should be as follows: /code

csoundCompile(csound, argc, argv, thisObj); while(!csoundPerformBuffer(csound)); csoundCleanup(csound); csoundReset(csound); /endcode

Definition at line 144 of file csound.c.

  {
    volatile int returnValue;
    /* setup jmp for return after an exit()
     */
    if (returnValue = setjmp(csoundJump_))
      {
        csoundMessage(csound, "Early return from csoundCompile().");
        return returnValue;
      }
    csoundReset(csound);
    runincomponents = 1;
    return csoundMain(csound, argc, argv);
  }


Generated by  Doxygen 1.6.0   Back to index