MCPcopy Create free account
hub / github.com/csound/csound / CsPerfThreadMsg_SetScoreOffsetSeconds

Class CsPerfThreadMsg_SetScoreOffsetSeconds

interfaces/csPerfThread.cpp:391–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389 */
390
391class CsPerfThreadMsg_SetScoreOffsetSeconds
392 : public CsoundPerformanceThreadMessage {
393private:
394 double timeVal;
395public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected