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

PUBLIC int csoundScoreSort ( CSOUND *  csound,
FILE *  inFile,
FILE *  outFile 
)

Sorts score file 'inFile' and writes the result to 'outFile'. The Csound instance should be initialised with csoundPreCompile() before calling this function, and csoundReset() should be called after sorting the score to clean up. On success, zero is returned.

Definition at line 243 of file utility.c.

References csoundScoreSort().

Referenced by csoundScoreSort().

{
    int   err;

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


Generated by  Doxygen 1.6.0   Back to index