UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

13 lines 615 B
import { timelineFramePtr } from "../pointers/timelineFramePtr"; import { INVERSE_STANDARD_FRAME } from "../globals"; import createInternalSystem from "./utils/createInternalSystem"; export const timelineWaveSurferPlaybackSystem = createInternalSystem("timelineWaveSurferPlaybackSystem", { data: {}, update: (self, data) => { if (timelineFramePtr[0] < data.startFrame) return; self.play((timelineFramePtr[0] - data.startFrame) * INVERSE_STANDARD_FRAME); timelineWaveSurferPlaybackSystem.delete(self); } }); //# sourceMappingURL=timelineWaveSurferPlaybackSystem.js.map