Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Pause playback when volume reach zero (-99)
« previous next »
  • Print
Pages: [1]

Author Topic: Pause playback when volume reach zero (-99)  (Read 1487 times)

Offline Bonhomme7h

  • Member
  • *
  • Posts: 10
Pause playback when volume reach zero (-99)
« on: April 28, 2014, 11:00:54 AM »
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.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Pause playback when volume reach zero (-99)
« Reply #1 on: April 28, 2014, 11:08:58 AM »
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.
Logged

Offline Bonhomme7h

  • Member
  • *
  • Posts: 10
Re: Pause playback when volume reach zero (-99)
« Reply #2 on: April 28, 2014, 01:02:42 PM »
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.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Pause playback when volume reach zero (-99)
« Reply #3 on: April 28, 2014, 10:12:35 PM »
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]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Bonhomme7h

  • Member
  • *
  • Posts: 10
Re: Pause playback when volume reach zero (-99)
« Reply #4 on: April 29, 2014, 09:22:42 PM »
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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Pause playback when volume reach zero (-99)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 15 queries.