Rockbox

Tasklist

FS#8006 - Beep when charger is removed or connected

Attached to Project: Rockbox
Opened by Daniel Dalton (ddalton) - Sunday, 21 October 2007, 02:22 GMT
Task Type Patches
Category Battery/Charging
Status New
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This very small patch simply plays a beep when a charger is removed or plugged in.
I know  FS#7910  voiced this but that was a bit annoying.

The charger stuff will be removed from p7910. I could have added this to it but it isn't really that related.
This task depends upon

Comment by Daniel Dalton (ddalton) - Sunday, 21 October 2007, 02:49 GMT
Beep only if talk_menu is enabled.
Comment by Daniel Dalton (ddalton) - Sunday, 21 October 2007, 22:20 GMT
Now depend on a beep_notification setting.
Requires  FS#8007 .
Comment by Daniel Dalton (ddalton) - Monday, 22 October 2007, 09:06 GMT
Will apply with out
 FS#8007 
But won't compile. This is because global_settings.beep_notification doesn't exist in rockbox.
 FS#8007  adds an option called "Beep notifications" and uses global_settings.beep_notification to hold its setting...
Just thought I would explain it.

Anyway this update just makes the beep more noticeable (I think :-))
Enjoy...
Comment by Daniel Dalton (ddalton) - Wednesday, 18 June 2008, 10:34 GMT
I think it is better to just use
talk_menu since beep_setting was closed and really was just a waste of space. No functional change,
Just no more dependencies and rely on talk_menu.
Is anyone interested in committing?
It really is a very small change.

Thanks.
Comment by Stephane Doyon (sdoyon) - Friday, 20 June 2008, 00:39 GMT
I'll try it out and probably commit.
Comment by Rosso Maltese (asettico) - Tuesday, 03 March 2009, 12:55 GMT
Resync (just offset lines).
Comment by Marc Guay (Marc_Guay) - Monday, 25 May 2009, 17:46 GMT
This seems to fine for USB connections but doesn't work consistently on USB removal because the menu item gets voiced over the beep. It works fine if you have a non-voiced item selected, but otherwise not.
Comment by alex wallis (alexwallis646) - Wednesday, 10 June 2009, 17:36 GMT
The version I am putting up is similar to the above versions.
However it was created by Stephane Doyon, he has given me permission to post this.
The version I am attaching with this comment beeps when the charger is removed or inserted, this patch also means that beeps of different pitch or duration can be sounded depending on if the charger is being removed or inserted, making it easy to know if it is connected or not.
The patch applies fine, though with a few offsets.
The beep_tune patch handles the playing of the different tones and the charger patch does the rest.

Loading...