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

PUBLIC int csoundScoreExtract ( CSOUND *  csound,
FILE *  inFile,
FILE *  outFile,
FILE *  extractFile 
)

Extracts from 'inFile', controlled by 'extractFile', and writes the result to 'outFile'. The Csound instance should be initialised with csoundPreCompile() before calling this function, and csoundReset() should be called after score extraction to clean up. The return value is zero on success.

Definition at line 261 of file utility.c.

References csoundScoreExtract().

Referenced by csoundScoreExtract().

{
    int   err;

    if ((err = setjmp(csound->exitjmp)) != 0) {
      return ((err - CSOUND_EXITJMP_SUCCESS) | CSOUND_EXITJMP_SUCCESS);
    }
    scxtract(csound, inFile, outFile, extractFile);
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index