Audio volume not gradually decrementing if value too low #15
hurry-harry
started this conversation in
Ideas
Replies: 1 comment
-
Putting a pause on trying to fix this right now. It is functional already and the Trying to fix is taking too long and is more complicated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As seen in the screenshot above, if the
volume
value is too low it seemingly does not assign the decremented value but the previous value. This results in thevolume
not decreasing and not ending the loop/setInterval
since it will never meet the condition for it toclearInterval
.WHy its not getting assigned properly is unknown.
Current workaround being worked on is to check if
volume
is still the same and if it is then add another condition check for it to forcevolume
to0
andclearInterval
spotify-taeyeon-shenanigans/src/app/components/play/play.component.ts
Lines 300 to 306 in 8e1cb49
Beta Was this translation helpful? Give feedback.
All reactions