Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure delay in DynamicData start time and real audio start time and consider refactor #89

Open
ewjmulder opened this issue Oct 5, 2018 · 0 comments

Comments

@ewjmulder
Copy link
Owner

    // Signal scenario that playback has started. just before starting the fill buffer loop.
    // This will cause a slight mismatch of max a few milliseconds between the timers in the DynamicData and the actual playback,
    // but this is the last place where we know the difference between a newly activated scenario and an existing one.
    scenariosToActivateCopy.forEach(ActiveScenario::nextPlaybackStarted);

Solution can be to save some state of start/restart in ActiveScenario with is false at creation and set to false at restart. But is that worth it or is hte delay neglectible?

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

No branches or pull requests

1 participant