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

fixed the problem when you could change the volume while muted #119

Closed
wants to merge 3 commits into from

Conversation

alonShevach
Copy link
Collaborator

please note that i removed(commented out) the while loop on line 173, that while loop wasnt really looping, it was running once and then stopped. changed it to a if condition, which will loop because we are inside an infinite loop.

i think ophir or eyal really needs to see this one for approval.

@alonShevach alonShevach linked an issue Jun 23, 2021 that may be closed by this pull request
@alonShevach alonShevach requested a review from eyal1889 June 23, 2021 13:06
@ophirhan
Copy link
Owner

ophirhan commented Jun 24, 2021

If want to prevent the user from being able to change the volume while muted (should we that's a discussion for the issue section)?
We need to set the volume to 0 in the update function of mute.

The purpose of the loop in line 173 is to keep handling tags until we reach a tag which hasn't started yet, only then we go to sleep.
the loop iterates when there are collisions between tags or when we execute a skip tag and land on another tag.

Either way the change to the loop should have been raised as a separate issue and discussed :-)

@alonShevach
Copy link
Collaborator Author

That is the main reason i wanted you or eyal to review this, i am not sure the loop is doing its purpose, i will check, and if it isn't i will make this an issue.

@alonShevach alonShevach linked an issue Jun 24, 2021 that may be closed by this pull request
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.

viewer can adjust the volume during 'mute'
2 participants