mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[PR #56] [MERGED] Implement initial volume slider #418
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/56
Author: @ghost
Created: 5/27/2021
Status: ✅ Merged
Merged: 5/28/2021
Merged by: @jpochyla
Base:
master← Head:volume-control📝 Commits (2)
74c9bc8Implement volume sliderac31fe0Minor fixes and improvements for the volume code📊 Changes
6 files changed (+76 additions, -6 deletions)
View changed files
📝
psst-core/src/audio_output.rs(+20 -3)📝
psst-core/src/audio_player.rs(+9 -0)📝
psst-gui/src/controller/playback.rs(+18 -0)📝
psst-gui/src/data/mod.rs(+1 -0)📝
psst-gui/src/data/playback.rs(+1 -0)📝
psst-gui/src/ui/mod.rs(+27 -3)📄 Description
This pull requests implements a working version of a volume slider. It was one of the pain points when using the application :D. As I was unsure about the location, I just put it somewhere where it could be easily accessed and thus not intrude on the rest of the application.
The slider allows values between 0 - 100 and displays the values as integer in the label (but is chosen as f32).
Image of the sidebar
I so far had no issues with it and it seems to perform well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.