Fixed critical bug where playback always started from 0:00 regardless of seek position or pause state. Root cause: - play() method called stop() which reset pauseTime to 0 - Then it checked isPaused (now false) and pauseTime (now 0) - Result: always played from beginning Solution: - Calculate offset BEFORE calling stop() - Preserve the paused position or start offset - Then stop and recreate source node with correct offset Now playback correctly starts from: - Seeked position (waveform click or timeline slider) - Paused position (when resuming after pause) - Specified start offset (when provided) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
4.0 KiB
4.0 KiB