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

PUBLIC int csoundCompileCsd ( CSOUND ,
char *  csdFilename 

Compiles a Csound input file (.csd file) which includes command-line arguments, but does not perform the file. Returns a non-zero error code on failure. In this (host-driven) mode, the sequence of calls should be as follows: /code csoundCompileCsd(csound, argc, argv); while (!csoundPerformBuffer(csound)); csoundCleanup(csound); csoundReset(csound); /endcode

Definition at line 184 of file filebuilding.cpp.

References csoundCompile().

    char *argv[2];
    argv[0] = (char*)"csound";
    argv[1] = csdFilename;
    return csoundCompile(csound, 2, argv);

Generated by  Doxygen 1.6.0   Back to index