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

PUBLIC MYFLT csoundGetSpoutSample ( CSOUND *  csound,
int  frame,
int  channel 

Returns the indicated sample from the Csound audio output working buffer (spout); only ever makes sense after calling csoundPerformKsmps(). The frame and channel must be in bounds relative to ksmps and nchnls.

Definition at line 1544 of file csound.c.

    int index = (frame * csound->nchnls) + channel;
    return csound->spout[index];

Generated by  Doxygen 1.6.0   Back to index