(t)
| 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, |
nothing calls this directly
no test coverage detected