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

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

Compiles and renders a Csound performance, as directed by the supplied command-line arguments, in one pass. Returns 1 for success, 0 for failure.

Definition at line 130 of file csound.c.

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


Generated by  Doxygen 1.6.0   Back to index