Skip to content

TimedStream: recalculate ByteLimits when setting values #1407

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

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

h3ndrik
Copy link
Contributor

@h3ndrik h3ndrik commented Mar 1, 2024

With snapcast, the timed_stream never waits. As TimedStream's begin() has already ran once setStartMs() is called, so TimedStream::calculateByteLimits() isn't called again and thus start_bytes is 0 and the stream always starts immediately.

I don't see a reason why you would want to setStartSec or setStartMs without actually applying that. But don't understand the consequences for other projects.

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.

2 participants