| 514 | |
| 515 | extern "C" { |
| 516 | static uintptr_t csoundPerformanceThread_(void *userData) |
| 517 | { |
| 518 | CsPerfThread_PerformScore p(userData); |
| 519 | _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); |
| 520 | // perform the score |
| 521 | int retval = p.Perform(); |
| 522 | // return positive value if stopped or end of score, and negative on error |
| 523 | return (uintptr_t) ((unsigned int) retval); |
| 524 | } |
| 525 | } |
| 526 | |
| 527 | void CsoundPerformanceThread::csPerfThread_constructor(CSOUND *csound_) |