Rockbox Development > Feature Ideas

Pause playback when volume reach zero (-99)

(1/1)

Bonhomme7h:
I usually use the "Pause on Headphone Unplug" feature to pause/resume playback without having to get my phone out of my pocket and unlock it, you will agree that this is not ideal. Since the volume buttons are the only ones that work when locked, is it conceivable to add a feature that pause playback when the volume reach the minimum value?

Thank you, Rémi Dionne.

saratoga:
I'm not opposed to this if someone wants to implement it but it would be some effort coding for a feature that seems like most people would not use.

Bonhomme7h:
I admit that that would be a specialized feature aimed toward smartphones, most devices Rockbox was designed for already have a pause button. If a Good Samaritan is tempted by the project I will gratefully press that "Paypal Donate" link.

[Saint]:
You're aware that Rockbox doesn't have its own volume parameters as such, right?

What I mean is, If you use this it will kill media volume across the entire operating system, not just Rockbox. I know that I myself would find this very inconvenient.

Someone may take up this task for you, but I can state with a fair amount of certainty that this almost certainly won't be added to the official builds. Its too obscure, and it breaks another feature that is infinitely more useful, let me explain.

If this were implemented, any touch screen user that makes use of the "mute" touch screen tag is now completely boned. Instead of simply muting playback, playback is now paused, the only way to "fix" this would be to ensure that un-muting also resumed playback, and mute has no business messing around with playback.

I had a brief look, thinking I could handle this for you from userspace with a theme, but it seems that its not possible to set a config value with a conditional statement, it (rather annoyingly) needs to be handled with a touch area, and that makes it absolutely useless for you as if you're going to manipulate a touch area, it may as well just be the pause button.


[Saint]

Bonhomme7h:
Since silencing the phone is my original intention, I do not see the inconvenience about killing media volume; Paused playback would only be a bonus. I wasn't aware of the mute function though, my theme do not display such thing. You well explained the redundancy this might generate. Of course the ideal option would be to allow the user to turn it on or off via the playback menu, on the other hand I understand that you can't clog it with obscure features if the interest isn't there.

Thank you for your time.

Navigation

[0] Message Index

Go to full version