| 389 | */ |
| 390 | |
| 391 | class CsPerfThreadMsg_SetScoreOffsetSeconds |
| 392 | : public CsoundPerformanceThreadMessage { |
| 393 | private: |
| 394 | double timeVal; |
| 395 | public: |
| 396 | CsPerfThreadMsg_SetScoreOffsetSeconds(CsoundPerformanceThread *pt, |
| 397 | double timeVal) |
| 398 | : CsoundPerformanceThreadMessage(pt) |
| 399 | { |
| 400 | this->timeVal = timeVal; |
| 401 | } |
| 402 | int run() |
| 403 | { |
| 404 | csoundSetScoreOffsetSeconds(pt_->GetCsound(), (MYFLT) timeVal); |
| 405 | return 0; |
| 406 | } |
| 407 | ~CsPerfThreadMsg_SetScoreOffsetSeconds() {} |
| 408 | }; |
| 409 | |
| 410 | // ---------------------------------------------------------------------------- |
| 411 |
nothing calls this directly
no outgoing calls
no test coverage detected