Skip to content

Add time conversion logic diagrams to time control design#700

Merged
emersonknapp merged 4 commits intomasterfrom
emersonknapp/time-control-conversion-design
Apr 1, 2021
Merged

Add time conversion logic diagrams to time control design#700
emersonknapp merged 4 commits intomasterfrom
emersonknapp/time-control-conversion-design

Conversation

@emersonknapp
Copy link
Copy Markdown
Collaborator

@emersonknapp emersonknapp commented Mar 30, 2021

Description

Add diagrams and derived equations for converting between playback time and steady time, with explanations. This helps inform discussion around the implementation details as we incrementally implement.

Related Issues

Clarifies behind discussion in #689
Extends #675
Part of #696

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp requested a review from a team as a code owner March 30, 2021 19:46
@emersonknapp emersonknapp requested review from piraka9011 and zmichaels11 and removed request for a team March 30, 2021 19:46
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Copy link
Copy Markdown
Contributor

@jikawa-az jikawa-az left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@MichaelOrlov
Copy link
Copy Markdown
Contributor

@emersonknapp Quick question. According to your design are we going to advance moving references each time when we a playing message or only by event when we are changing speed/pause or playing next message in pause?

@emersonknapp
Copy link
Copy Markdown
Collaborator Author

emersonknapp commented Mar 31, 2021

We only advance moving reference on a time control event, which is currently defined as one of the following:

  • set_rate
  • set_paused
  • jump

I believe that "play next message while paused" will be implemented using jump, so it falls under that event. The nice thing about jump is that it requires no floating point arithmetic, so there is no possible error - you simply say "this is the time now"

@emersonknapp emersonknapp merged commit deefd19 into master Apr 1, 2021
@delete-merged-branch delete-merged-branch bot deleted the emersonknapp/time-control-conversion-design branch April 1, 2021 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants