This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7777 - Voice for the "Running Time" screen
Attached to Project:
Rockbox
Opened by Stephane Doyon (sdoyon) - Friday, 14 September 2007, 06:45 GMT+2
Last edited by Stephane Doyon (sdoyon) - Wednesday, 07 November 2007, 04:58 GMT+2
Opened by Stephane Doyon (sdoyon) - Friday, 14 September 2007, 06:45 GMT+2
Last edited by Stephane Doyon (sdoyon) - Wednesday, 07 November 2007, 04:58 GMT+2
|
DetailsSpeaks the "Running Time" screen (under the "System" menu).
Depends on |
This task depends upon
Closed by Stephane Doyon (sdoyon)
Wednesday, 07 November 2007, 04:58 GMT+2
Reason for closing: Accepted
Wednesday, 07 November 2007, 04:58 GMT+2
Reason for closing: Accepted
THere is one thing I noticed, the patch does not apply cleanly to latest subversion HEAD because
you are using UNIT_TIME, which is not implemented in subversion HEAD.
I fixed it locally by using UNIT_HOUR, UNIT_MIN and UNIT_SEC and doing basically the same modulo and divide
operations that the code for generating string results already uses.
DId you forget to include a dependency on some other patch that provides UNIT_TIME, or is this just an oversight?
I meant to break it out, since I've found use for it here and in my
playing-time patch, but I forgot.
I'll just attach it here.
The UNIT_TIME stuff is now in P#7798.
Here it is.