Skip to content

Conversation

@nilathedragon
Copy link
Collaborator

Fixes #138

Turns out the volume read from playbin is a wild decimal for basically any volume.
For example:

  • 0.6000000000000001
  • 0.8999999999999999
  • 0.30000000000000004
  • 0.36000204041308237
  • 0.5999933844758054

And in the case of volume 1: 0.09999677905883801

With this change, they are rounded to .1, which results in correct volume for all steps (I tried)

@nilathedragon nilathedragon requested a review from drafolin August 17, 2025 16:50
Copy link
Collaborator

@drafolin drafolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nilathedragon nilathedragon merged commit 32dda70 into master Aug 17, 2025
3 checks passed
@nilathedragon nilathedragon deleted the 138-hightide-does-not-remember-last-set-volume-if-the-last-set-volume-was-1 branch August 17, 2025 22:41
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.

HighTide does not remember last set volume, if the last set volume was 1

3 participants