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

Pretty interesting scripts. mind to explain? #3

Open
ajmandourah opened this issue May 19, 2021 · 0 comments
Open

Pretty interesting scripts. mind to explain? #3

ajmandourah opened this issue May 19, 2021 · 0 comments

Comments

@ajmandourah
Copy link

Hey !

As I have been working on mumble recently this script recv_stdout.p is pretty intereasting.
everything is pretty self explainatory. this part tough is a liitle hard for my brain

wait = self.interval * 0.9 - (time.time() - start)
if wait > 0:
    time.sleep(wait)
while time.time() < ts: # spin until time is reached                
    pass

would you mind explain it a little bit. without this part the sound will have a very long pause.

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