(time: number)
| 223 | }, [playing, ready, acts]); |
| 224 | |
| 225 | const seekTo = async (time: number) => { |
| 226 | const clamped = Math.min(Math.max(0, time), duration); |
| 227 | tRef.current = clamped; |
| 228 | setT(clamped); |
| 229 | await apply(clamped, playing); |
| 230 | }; |
| 231 | |
| 232 | const toggle = async () => { |
| 233 | const next = !playing; |
no test coverage detected