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

PUBLIC int csoundPerformKsmpsAbsolute ( CSOUND *   ) 

Senses input events, and performs one control sample worth (ksmps) of audio output. Note that csoundCompile must be called first. Performs audio whether or not the Csound score has finished. Enables external software to control the execution of Csound, and to synchronize performance with audio input and output.

Definition at line 1396 of file csound.c.

      int done = 0;
      int returnValue;
      /* setup jmp for return after an exit() */
      if ((returnValue = setjmp(csound->exitjmp))) {
#ifndef MACOSX
        csoundMessage(csound, Str("Early return from csoundPerformKsmps().\n"));
      do {
        done |= sensevents(csound);
      } while (kperf(csound));
      return done;

Generated by  Doxygen 1.6.0   Back to index