Skip to content

Commit

Permalink
Reset beat count when transport is resumed
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Jun 19, 2024
1 parent 8f880e4 commit 4b7473f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sardine_core/clock/link_clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

__all__ = ("LinkClock",)

DEBUG = False
DEBUG = True


class LinkClock(BaseThreadedLoopMixin, BaseClock):
Expand Down Expand Up @@ -246,3 +246,4 @@ def hook(self, event: str, *args):
elif event == "resume" and not self._playing:
self._last_capture.setIsPlaying(True, self._link_time)
self._link.commitSessionState(self._last_capture)
self.beat = 0

0 comments on commit 4b7473f

Please sign in to comment.