This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8865 - timer plugin
Attached to Project:
Rockbox
Opened by x (vmh) - Thursday, 10 April 2008, 22:40 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Saturday, 04 June 2011, 23:39 GMT+2
Opened by x (vmh) - Thursday, 10 April 2008, 22:40 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Saturday, 04 June 2011, 23:39 GMT+2
|
DetailsThis is a timer plugin. After the set time the plugin stops the music and plays a tone until the user presses a button to stop the alarm.
Most of the code is copied from battery_bench.c and test_sampr.c |
This task depends upon
Closed by Dominik Riebeling (bluebrother)
Saturday, 04 June 2011, 23:39 GMT+2
Reason for closing: Out of Date
Saturday, 04 June 2011, 23:39 GMT+2
Reason for closing: Out of Date
I have a long travel to work. I use it, so I won't miss the right station to get off the train :)
@linusnielsen
Maybe it's more appropriate to count the ticks or using the timer provided by the api, but as PaulJam said, it would need more code to display the remaining time or to adjust the time.
update:
- fixed: loading another plugin won't show the dialog if timer has finished
- fixed: fully controllable via remote-control
- works with new plugin API (http://svn.rockbox.org/viewvc.cgi?view=rev&revision=19776)
- removed SIMULATOR ifdefs - i found no problems with this plugin in simulator
- tested (a little) on iriver H340 - looks like it works