MCPcopy
hub / github.com/stemdeckapp/stemdeck / driveTransportUi

Function driveTransportUi

static/js/player.js:1075–1081  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1073 // Mirror the streaming "timeupdate" handler body so playhead/footer/
1074 // presence/stop-visual update the same way regardless of which clock runs.
1075 const driveTransportUi = (t) => {
1076 timeEl.textContent = `${fmtTime(t)} / ${fmtTime(totalDuration)}`;
1077 updatePlayheadMarker(t);
1078 updateFooterTimes(t);
1079 updatePresencePlayhead(t);
1080 updateStopVisual();
1081 };
1082 if (audioEngine) { audioEngine.destroy(); setAudioEngine(null); }
1083 const eng = createAudioEngine(stems, {
1084 onTime: driveTransportUi,

Callers

nothing calls this directly

Calls 5

fmtTimeFunction · 0.90
updatePlayheadMarkerFunction · 0.90
updateFooterTimesFunction · 0.90
updatePresencePlayheadFunction · 0.90
updateStopVisualFunction · 0.85

Tested by

no test coverage detected