Skip to content

Conversation

@zWolfrost
Copy link
Contributor

@zWolfrost zWolfrost commented Apr 17, 2024

Fixes #24

This happened because when "set_muted" is called to unmute a meter, it checks if the volume is 0% on both sides and resets them to 100% if it is.

However, the volume it got was under some kind of latency and, when unmuting by clicking the slider, "set_muted" still thinks the volume is 0% (from both sides), thus resetting the volume to 100% anyway.

By setting the variable "zero_volume_reset" i have made sure that the volume is not reset when unmuting by clicking the slider, but only when clicking the button directly.

@zWolfrost zWolfrost changed the title fix volume reset when unmuting by clicking the slider (#24) fix volume reset when unmuting by clicking the slider (fixes #24) Apr 17, 2024
@zWolfrost zWolfrost changed the title fix volume reset when unmuting by clicking the slider (fixes #24) fix volume reset when unmuting by clicking the slider Apr 17, 2024
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.

Unmuting a channel by clicking the slider sets its volume to 100% for some reason.

1 participant