Brandon Low
d02b5c744e
Don't keep useless id3v2 or other leading tag data on the buffer, it could be large
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15465 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 01:56:12 +00:00
Robert Kukla
6be390f210
make initialisation of buffer/unbuffer call backs consistent with FS#6639
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15464 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 23:58:23 +00:00
Robert Kukla
ca1b920896
Fix for FS#8082:
...
runtime data fields are filled like any other fields in the mp3entry struct during the call to get_metadata(); HWCODEC still uses the old callback mechanism
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15463 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 21:11:40 +00:00
Brandon Low
31c1164c49
make handle_id of zero valid, stop using memsets to clear tracks, should be no functional changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15462 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 19:01:02 +00:00
Paul Louden
66f0cb2f60
FS#7232 - Fix some inconsistencies within the Sansa keymap. Makes it
...
easier to use with one thumb, a little more symmetrical for lefties, and
a little more consistent both within the scope of the e200 target and
cross-target. Manual should be updated with the changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15461 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 18:01:34 +00:00
Jens Arnold
6fb4c53fb9
The GPIO interrupts are split into several port groups on all PP502x versions, so move those definitions into pp5020.h, and add the missing group. Make microSD hotswap detection work on Sansa c200. Note that microSD access itself does not work yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15460 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 13:22:17 +00:00
Jonathan Gordon
04d0e3bc41
fix talking simplelists which I broke yesterday. dont talk if the list is being redrawn because get_action() timed out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15459 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 12:52:32 +00:00
Jonathan Gordon
a6f2b82803
revert my previous commit and do it in a much less hacky way (both of these were for FS#8084)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15458 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 12:40:18 +00:00
Jonathan Gordon
62decc42e7
return to the main menu if stop is pressed in the wps context menu, (blame pondlife for the hack :D )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15457 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 12:10:41 +00:00
Jonathan Gordon
4ada9ed2d9
last minor fix for the colour screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15456 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 10:57:06 +00:00
Jonathan Gordon
eb20149804
minor touchpad tweaking...
...
lists - dont do ACTION_STD_OK if pressing an area under the last item
colour chooser - change the seelcted colour straight away without having to swicth sliders first
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15455 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 10:51:11 +00:00
Jonathan Gordon
fd9bad6597
touchpad interface for the colour selection screens.
...
voice the unacceptable colour splash (nice and pointless :p )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15454 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 10:42:22 +00:00
Jonathan Gordon
5af8e940e1
woops, lasttn does need to be global
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15453 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 10:01:27 +00:00
Brandon Low
2ecb3231c6
More residuals from 8077, sanitize chunk and watermark settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15452 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 06:01:46 +00:00
Brandon Low
ebc981b233
More residuals from 8077 that should make buffering start up more smoothly and complete more completely
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15451 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 05:57:48 +00:00
Brandon Low
f906498786
OTher part of previous
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15450 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 05:36:35 +00:00
Brandon Low
e8fa7f94b0
More attempt to fix 8077
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15449 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 05:33:06 +00:00
Brandon Low
3817acc682
Tweak the way the data_counters are calculated to make it more friendly to the potential read-during-write, probably has very little impact on the compiled code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15448 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 05:15:41 +00:00
Brandon Low
aabd6885bf
More try to fix 8077, BUF_USED is not a good way to determine if the buffer is healthy any more, we'll need a enw way if we need to resurrect yield_codec later
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15447 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 02:40:24 +00:00
Jonathan Gordon
e247230e0d
redraw the siplelist more often
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15446 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 01:04:10 +00:00
Brandon Low
1c36a660ea
Disable the already spinning optimization until it is written correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15445 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 00:23:22 +00:00
Jens Arnold
015f6286a8
Finally: HDD power control for all PP502x iPods (4th gen Grayscale, Color, Minis, Video). * Wait a short time after powering on the HDD on all disk based targets, as that seems like a good idea. Shorten the excessive wait on initial power on.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15444 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 23:57:24 +00:00
Jens Arnold
33acc66256
* Add newfound GPO32 register to pp502x.h. * Introduce macros for the PP502x's atomic GPIO bit manipulation feature. * Remove clock setup related registers from debug screen, and add DEV_EN2, DEV_EN3 (to be verified) and GPO32 instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15443 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 22:47:27 +00:00
Brandon Low
9784f6b752
Make the use of signed int for buffer handles consistent and handle wrapping better. Number of handle_ids available is unchanged by this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15442 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 22:06:56 +00:00
Brandon Low
7b74dd7574
Attempt to fix FS#8077... again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15441 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 21:57:27 +00:00
Brandon Low
0c97493a88
This part was good, bring it back
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15440 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 21:55:24 +00:00
Brandon Low
c2e1cc1e39
Revert recent changes that are broken
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15439 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 21:48:08 +00:00
Brandon Low
19eae2bd9b
Bump hid to 32bit to make sure it's safe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15438 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 21:20:42 +00:00
Brandon Low
acb3e9af22
Make handle id semantics more like file id. This may need to be revisited if we ever start storing long lived things on the buffer (if an item lives through 32k other items coming and going, there will be an id collision and things will break)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15437 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 21:13:15 +00:00
Brandon Low
60d4e7c9c4
Buffering consistency improvements
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15436 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 17:55:45 +00:00
Brandon Low
86919f4609
Misc. buffering related playback tweaks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15435 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 17:55:29 +00:00
Alessio Lenzi
a7905da890
Updated italian translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15434 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 16:14:11 +00:00
Steve Bavin
4d822319e9
Little tidy-up on previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15433 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 13:45:12 +00:00
Steve Bavin
8d03282f91
Fix recursion-stack overflow on simulator, also unify some variable names and make battery level changes more realistic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15432 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 13:21:40 +00:00
Jonathan Gordon
e0cd0b84f3
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15431 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 12:10:03 +00:00
Jonathan Gordon
97f6c46fe9
mouse support for HAVE_TOUCHPAD target simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15430 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 11:58:31 +00:00
Mustapha Senhaji
24de1219d6
Update the french translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15429 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 11:43:27 +00:00
Mustapha Senhaji
d6cbbb8477
FS#8079 Update finnish translation by Jani Kinnunen (and fix a typo by me).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15428 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 11:10:36 +00:00
Jens Arnold
c9fca1e69c
Show exact CPU version on PP5002 targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15427 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 08:09:07 +00:00
Stepan Moskovchenko
3be1ca0281
MIDI: Improve seeking (especially near the end of the file) by disabling playback during the seek. Next
...
step is to prevent delta value calculation during seeking, and just recompute the current deltas once
seeking is over.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15426 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 06:31:33 +00:00
Brandon Low
11a3661d73
Make atomic type work for even first track. Rework low buffer handling... uses a stateful variable because I'm a bitter old man and it works this way
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15425 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 06:21:32 +00:00
Stéphane Doyon
fe2f1af0d3
Fix my mess in r15419: LANG_BATTERY_TOPOFF_CHARGE is only defined
...
when CONFIG_CHARGING == CHARGING_CONTROL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15424 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 05:40:22 +00:00
Michael Sevakis
4bce3ad98a
Use the correct event state constants.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15423 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 05:14:09 +00:00
Stéphane Doyon
da93299865
Accept FS#7910: spontaneously speak out the battery level when it falls
...
under 50%, 30% and 15%. Guarded by an option under voice settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15422 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 05:00:49 +00:00
Stéphane Doyon
775279b63e
Fix warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15421 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:59:24 +00:00
Brandon Low
9c3c6f9c82
Logf when a file is loaded atomic not packet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15420 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:30:43 +00:00
Stéphane Doyon
69f88a5c35
Info screen: charging and battery.
...
For CHARGING_SIMPLE: if the charger is inserted, then indicate that the
battery is charging, and do not show the battery level (which should be
bogus anyway). This is the only place the charger status is reported for
blind users.
Allow reporting charge_state for CHARGING_MONITOR: the header file says
it could be CHARGING or TRICKLE. Hope this is right. Interestingly,
that's how the #ifdefs were for the voice part.
Have the voice match the displayed info. In particular do not report
battery level when in a charging state.
Use the new talk time unit for the battery remaining duration.
If battery_level() is 0 and no info is available, then say "blank"
instead of nothing.
LANG_BATTERY_CHARGE: more verbose voice entry.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15419 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:13:25 +00:00
Stepan Moskovchenko
cd963d84ca
MIDI: Allow seeking forward and backward using the left/right keys. Currently seeks in 5 second
...
increments, but this can be set to any amount. Also implemented a counter for playing time, which can
pretty easily be used to determine the length of the file, in seconds, before playing it. The time
isn't displayed anywhere right now, but all this can be useful if this thing is turned into a codec, or
at least gets a nice UI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15418 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:09:38 +00:00
Brandon Low
dc58c3d92e
Give lowmem targets or targets with broken ATA implementations more buffering opportunities. Fix part of hcs' long standing SPC bug by filling if the useful data is equal to the watermark as well as less than
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15417 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 03:46:22 +00:00
Stéphane Doyon
8b8785b541
Accept FS#7798: Voice unit for time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15416 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 03:43:12 +00:00