Commit graph

9245 commits

Author SHA1 Message Date
Nils Wallménius
b82fd56e0f Delete unused function, const police, minor style police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18664 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 16:29:51 +00:00
Jonathan Gordon
2438d7881a redo the previous commit so its actually useful.
if the callback returns ACTION_STD_CANCEL when the user presses ACTION_STD_OK the simple list will exit and set the selection. Otherwise, when ACTION_STD_CANCEL happens the selection will be set to -1


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18641 a1c6a512-1295-4272-9138-f99709370657
2008-09-25 08:12:25 +00:00
Jonathan Gordon
67df5f2434 have the info lists set the selection before they are exited, this is sometimes needed by the caller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18640 a1c6a512-1295-4272-9138-f99709370657
2008-09-25 07:56:34 +00:00
Nils Wallménius
93a87685c3 Clean up use of snprintf where strncpy if suited, avoid useless copying of constant strings for wps token evaluator, minor const police too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18625 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 20:03:53 +00:00
Nils Wallménius
7d4cebd7da Slight clean up of splash calls, use HZ instead of explicit numbers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18624 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 17:48:10 +00:00
Nils Wallménius
1121af7b5e Print a helpful error in the sim for usupported formats in Ogg containers (f.e. Ogg/FLAC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18623 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 17:43:10 +00:00
Jonathan Gordon
ff21c63b2b fix the button on the "X to abort " splash for the gigabeat f/s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18620 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 07:41:43 +00:00
Alessio Lenzi
bfbec7191c Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18586 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 19:08:16 +00:00
Jonathan Gordon
d34ab4af8a Display the expected album art size in the info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18576 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 11:20:08 +00:00
Jonathan Gordon
468edbbc7c Use the correct #ifdefs for the added kernel objects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18575 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 09:59:06 +00:00
Michael Sevakis
2041fed03a Opening function brace style police.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18574 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 09:23:32 +00:00
Michael Sevakis
5c903724fb Simplify synchronizaton for MPA codec and make it fully atomic, let synth thread exist for life of codec, do a bit of cleanup and use number of cores do determine if it is compiled as multithread instead of CPU type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18573 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 08:09:04 +00:00
Jens Arnold
b95dbd21cf Oops, forgot the touchscreen targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18572 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 02:03:48 +00:00
Jens Arnold
4d4555e434 Simplify controls in order to resolve impossible combos on several targets. Now uses a similar system as bounce: use left/right (or equivalent) to select the axis to adjust, and up/down (or the equivalent) to change speed/angle. * Show angle instead of speed in angle adjust mode (i.e. pause). * Better event handling when paused (button_get_w_tmo()).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18571 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 01:45:50 +00:00
Michael Giacomelli
9bc16e491d Add simple ASMed fixed point multiply functions for ARM to AC3. Gives a 38% speed up on my one sample with a Sansa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18570 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 00:51:22 +00:00
Frank Gevaerts
0a1d3653bd Add player name and rockbox version to the battery_bench output
This need appsversion in plugin_api


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18569 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:59:00 +00:00
Dave Chapman
726a63f309 Correct version of memory sizes in config-logikdax.h (previous values were just experimental and should not have been committed). We also need to remove two more codecs for this codec buffer size (128KB). The m200 and DAX builds now actually build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18568 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:38:28 +00:00
Dave Chapman
85807cd44e Trivial changes to make the main Rockbox builds for the Sansa m200 and Logik DAX ports compile. Note that some codecs are currently disabled (due to lowmem on these targets), but that needs more work and analysis to decide how much RAM we want to allocate to codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18566 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:15:18 +00:00
Michael Giacomelli
0097198586 Fix careless typo on my part that broke MP3 playback on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18564 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 15:27:27 +00:00
Michael Giacomelli
3dedcfc454 Hopefully fix glitches when seeking in MP3s on dual core processors. Also, clean up initialization and preprocessor commands.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18563 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 01:29:50 +00:00
Jonathan Gordon
95f516e0b9 more slight playlist resume cleanuping... dont bother saving the playlist first index value. its reset to 0 before playlistcontrol is loaded anyway, and then reset to 0 after its finished so its completly useless in global_status.
runtimes, resume info, etc will be reset again...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18561 a1c6a512-1295-4272-9138-f99709370657
2008-09-21 14:19:18 +00:00
Michael Giacomelli
8cd2bb7f34 Threading functions aren't all available on HWCODEC, so don't try to build them on it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18560 a1c6a512-1295-4272-9138-f99709370657
2008-09-20 22:38:09 +00:00
Michael Giacomelli
712931ca6e Opps, fix mp3 decoding in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18559 a1c6a512-1295-4272-9138-f99709370657
2008-09-20 22:20:58 +00:00
Michael Giacomelli
ccd56bf220 Fix test_codec on multiprocessor codecs (MP3, SPC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18558 a1c6a512-1295-4272-9138-f99709370657
2008-09-20 22:13:39 +00:00
Michael Giacomelli
4e36a2b991 Commit FS#9318 - MP3 synthesis filter on COP. Loads the MP3 synth filer on to the CoProcessor on all PortalPlayer devices, resulting in an ~90% speedup according to test_codec on the Sansa. Real world improvement is somewhat less, but still considerable. Allows MP3 decoding at 30MHz without boosting, or use of more DSP/EQ with less boosting/skipping, thus improving battery life. Minor changes to mpegplayer to retain compatibility with libmad changes. Should be no significant changes for other targets or codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18557 a1c6a512-1295-4272-9138-f99709370657
2008-09-20 22:06:12 +00:00
Jonathan Gordon
40d713c5fc FS#9408 - dont bother saving the random seed in global status. I'm 99.9% sure this code was being ignored anyway.
If this commit causes problems with restarting playback open a bug report (getting testers was difficult...) 
Settings which are stored in the nvram.bin file will be reset with this commit. this includes  resume info, runtimes, "last screen" and a few others.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18555 a1c6a512-1295-4272-9138-f99709370657
2008-09-20 15:30:55 +00:00
Bertrik Sikken
f311ce8732 Make local function ticking_callback static in apps/menus/display_menu.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18547 a1c6a512-1295-4272-9138-f99709370657
2008-09-18 22:08:36 +00:00
Nicolas Pennequin
67def0b18c Fix a display bug with the tracklist in Picture Flow. Thanks to Thomas Schott.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18537 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 16:03:54 +00:00
Rob Purchase
f08eed6ec5 D2/Touchscreen keymap improvements: onscreen keyboard is now usable; PLAY/pause now mapped to TOPRIGHT; Usable defaults in Rockboy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18529 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 08:14:31 +00:00
Rob Purchase
1a08f46329 Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 08:09:44 +00:00
Jonas Häggqvist
9cf7ef68c9 Language updates:
- Typo fix for Spanish by Fransisco Vila (FS#9406)
 - Sync of Norwegian by Thom Johansen


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18526 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 02:29:24 +00:00
Jonas Häggqvist
ff0b9a064c Spanish update by Francisco Vila (FS#9402 and FS#9403).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18520 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 15:04:16 +00:00
Jens Arnold
b1a584a1b6 Simplify & fix the MMC driver. After more than 3 years I found that the MMC specs were a bit misleading, and the 'large' MMC which state a block size of 1024 or 2048 bytes and no partial read and/or partial write capability are happily accepting a block size of 512 bytes. So go KISS and remove all the variable/partial block handling code. This fixes the driver for the Transcend 4GB MMCplus, which doesn't cope when we actually set the 2048 byte block size it states. It also makes write operations involving small blocks faster and more reliable. * Note: The 4GB Transcend still doesn't work when plugged at boot, but works when hotplugged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18515 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 20:33:24 +00:00
Bertrik Sikken
56e2764116 Make local function static and add missing #includes for Archos player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18505 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 21:11:06 +00:00
Frank Gevaerts
d02c85049a fix out-of-bounds array access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18503 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 19:25:55 +00:00
Alessio Lenzi
8aa0491fb7 Used correct voice messages for some splash screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18498 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 20:13:02 +00:00
Alessio Lenzi
20b4620926 Some other minor fixes in voice strings for italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18497 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 19:53:25 +00:00
Bertrik Sikken
37a384c541 Minor missing #include and static function fixes for mrobe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18487 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 20:14:22 +00:00
Peter D'Hoye
5aa914f179 Fix INC/DEC button assignment in recording screen for ipods
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18484 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:54:35 +00:00
Alessio Lenzi
f844e793dd Italian translation file:
* Resorted.
* Little changes to some voice strings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18475 a1c6a512-1295-4272-9138-f99709370657
2008-09-09 16:21:37 +00:00
Peter D'Hoye
ca3c975dba Addendum to r18441: increase the plugin api version number as changing the screens struct broke compatibility
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18455 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 17:54:45 +00:00
Nicolas Pennequin
29b6d9da99 Some bug fixes for PictureFlow by Thomas Martitz: Mistitled zoom setting, FPS setting not saved, FPS overlapping tracklist, tracklist not refreshing and tracklist missing one song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18454 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 17:48:07 +00:00
Frank Gevaerts
9b40de85d3 fix FS#8641
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18451 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 15:16:14 +00:00
Steve Bavin
4bb8fd286b Something horrible happened with binsize, so revert FS#8894 completely (for now).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18449 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 09:00:41 +00:00
Steve Bavin
4553e41f0e Oops, I thought SVN commit would add these for some silly reason. Properties need setting still though..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18447 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 08:35:46 +00:00
Steve Bavin
f6982346a1 Add timestretching from FS#8894, as written by Stephane Doyon based on work by Nicolas Pitre. Shouldn't affect playback unless it's explicitly enabled, but let me know if it does. Currently has a dedicated setting, but maybe inclusion of the code will inspire someone to integrate this with the pitch screen...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18446 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 08:27:51 +00:00
Peter D'Hoye
3d0f01c0f7 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18442 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 20:22:47 +00:00
Peter D'Hoye
3c1e9ca558 Change screens memebers char_width, char_height and nb_lines to functions returning a calculated value. Fixes FS #9361 because the values were calculated based on sysfont, not the user selected font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18441 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 20:09:11 +00:00
Jonas Häggqvist
97f775df05 Language updates:
- Catalan by Víctor Zabalza (FS#9345)
 - Spanish by Francisco Vila (FS#9366)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18437 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 11:47:12 +00:00
Dave Chapman
d462a64a91 Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-09-06 17:50:59 +00:00