-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#40-enable mute toggle. vol-up/dn also unmutes if needed #42
#40-enable mute toggle. vol-up/dn also unmutes if needed #42
Conversation
Hi @pheck thanks for the commit. Looks clean and working, one question, because I need to rely on your testing: You set If you are not using % when changing the volume, wouldn't the value then be much bigger? I used 500+ and 500- originally. Using % did not work for me, for reasons I don't understand. So I am happy not to see % :) but I am not sure that these are the right values? All the best, micz |
I think it depends on the Device you are using. I use a VOLSTEP of 10 on my Pi Zero as 255 is 100% on my device. My volume range is 0-255 on a Pi Zero with a Miniamp. So the 500+ step will always max out to 255 for me. A Pi 3 should have a much wider volume range. Hope that helps. |
Yeah, like @itkevin pointed out, I also think it's device-depending. (I had to change Lastly, it's also a matter of (my) personal preference to have really fine-grained volume steps. But I can as well change |
Hi @pheck
|
Hi @MiczFlor, As for your second thought: if I got you right, you want to add a default value for the volume. Imho, setting a default value only makes sense once - if ever: after the system starts. When unmuting, what I want is the same volume level like before I muted. And even after a system start, I'd prefer to have the volume level that I left with (it seems to be persistent across reboots) instead of a default. I might be short-sighted here, but I don't see a reason to implement a default. |
Hi @pheck When you Thanks for your input, makes me understand the usability issues better. All the best, m |
HI @pheck |
Hi @MiczFlor, Will have a look at the settings directory now. |
Hi @MiczFlor, Imho, the current implementation covers all aspects, which sum up to:
Please review and let me know if you like me to change anything. |
Hi @pheck looks good and it will be next on my list of things to do. Promise (apologies for the delay). What I will be doing: moving |
Hi @MiczFlor , And good idea to pull out the settings into a central place. |
Successfully tested on my system.
Change describption: see #40