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

CsoundPerformanceThread::CsoundPerformanceThread ( Csound *  csound  ) 

CsoundPerformanceThread(Csound *) CsoundPerformanceThread(CSOUND *)

Performs a score in a separate thread until the end of score is reached, the playback (which is paused by default) is stopped by calling CsoundPerformanceThread::Stop(), or an error occurs. The constructor takes a Csound instance pointer as argument; it assumes that csoundCompile() was called successfully before creating the performance thread. Once the playback is stopped for one of the above mentioned reasons, the performance thread calls csoundCleanup() and returns.

Definition at line 400 of file csPerfThread.cpp.


Generated by  Doxygen 1.6.0   Back to index