Closed alonShevach closed 3 years ago
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 :-)
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.
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.