MCPcopy Create free account
hub / github.com/doldecomp/mkdd / seqTimeToDspTime

Method seqTimeToDspTime

libs/JSystem/JAudio/System/JASTrack.cpp:509–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509u32 JASTrack::seqTimeToDspTime(f32 seqTime) {
510 f32 dsp_time;
511 if (mFlags.flag2) {
512 dsp_time = seqTime / _1dc;
513 } else {
514 dsp_time = seqTime * (120.0f / mTimebase);
515 dsp_time *= JASDriver::getSubFrames() / 10.0f;
516 }
517 return dsp_time;
518}
519
520void JASTrack::setParam(u32 target, f32 targetf, u32 count) {
521#line 729

Callers

nothing calls this directly

Calls 1

getSubFramesFunction · 0.85

Tested by

no test coverage detected