Commit graph

15772 commits

Author SHA1 Message Date
Michael Giacomelli
8b99ad39b1 Fix warning when compiling the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15858 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 14:24:05 +00:00
Michael Sevakis
c21180fb06 Delay reading the first battery level for at least 1 tick. Seems to fix the low battery shutdown problem on 3g. Reenable the low battery shutdown on 3g.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15857 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 10:55:09 +00:00
Jens Arnold
124f8dec63 Fix setting name in the menu for remote backlight timeout when plugged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15856 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 10:08:28 +00:00
Jens Arnold
89bfb66939 BMP loader: Handle top-down BMP files (height is negative). Note that the e200 example pictures still don't work, as they are larger than the screen (not a loader problem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15855 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 08:51:18 +00:00
Michael Sevakis
5323fe996b Move encoder CPU boost control to the core. Allow CPU to sleep a bit when PCM buffer is empty and save some power. Codec API becomes incompatible so full updates! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15854 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 05:16:56 +00:00
Michael Sevakis
b0dd9eb5bc Repair the no-spinup on start/split feature of recording. Recording directory selection broke it. Please only look at the disk during encoder loading opportunities in future additions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15853 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 05:14:57 +00:00
Thom Johansen
655fa16a9d Fix FS #8251, replaygain doesn't switch to track gain mode if album gain is missing from a file, also make unused replaygain entries not be displayed in track info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15852 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 01:10:28 +00:00
Michael Giacomelli
1a5d59498a Fix overflow when seeking in long files wma. Also, add a simple sanity check when seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15851 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 00:46:32 +00:00
Christian Gmeiner
94be71eab5 Add a working serial driver to usb stack. At the moment it simply echos back what it gets. You can test it on linux by
0) change relevant defines in usb_core.c
1) modprobe usbserial vendor=0x0781 product=0x7421 debug=1
2) picocom /dev/ttyUSB0
3) look at your logf screen if you build with logf support and enabled LOGF_ENABLE define in usb_serial.c
I also modified usb_core so that storage and serial both can make use the the 'usb_core'-thread. More will come :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15850 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 00:13:00 +00:00
Jens Arnold
bf2a33485f Fix some plugins not using the helper functions for the new backlight timeout handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 23:55:58 +00:00
Thom Johansen
feb75d43c8 Remove unneeded files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15848 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 23:49:43 +00:00
Dave Chapman
658747827f Add some brief instructions to compile sansapatcher
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15847 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 17:39:59 +00:00
Dan Everton
0c2ff76766 Make more sound related settings that might damage your ears not wrap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15846 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 09:19:08 +00:00
Thom Johansen
9fe5633789 Stop writing to the metadata struct in the codec, it's not nice. These fields are already properly filled out anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15845 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 01:45:56 +00:00
Brandon Low
e959c5aa95 Possibly save a few bytes when stripping the tags of the last allocated handle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15844 a1c6a512-1295-4272-9138-f99709370657
2007-11-28 16:39:58 +00:00
Brandon Low
3e7f02e007 No functional changes, just coding tweaks for speed, codesize and style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15843 a1c6a512-1295-4272-9138-f99709370657
2007-11-28 16:39:55 +00:00
Thom Johansen
df0df311dc Add rbspeexdec, decoder for the Rockbox voice clips. Also nitpick a bit on rbspeexenc while I'm at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15842 a1c6a512-1295-4272-9138-f99709370657
2007-11-28 13:42:44 +00:00
Brandon Low
c1b718403a Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15841 a1c6a512-1295-4272-9138-f99709370657
2007-11-28 05:13:05 +00:00
Brandon Low
3386dd7be9 Fix FS8069, because Nico_P made it easy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15840 a1c6a512-1295-4272-9138-f99709370657
2007-11-28 04:58:16 +00:00
Jens Arnold
05784b52ab H10 button driver: Use atomic GPIO bit manipulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15839 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 20:23:12 +00:00
Will Robertson
db5206742e Scramble can now generate an nk.bin file, independent of the OF. These nk.bin files will only transfer using the sendfirm tool.
Also made the gigabeats.c file 64-bit and endian safe.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15838 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 16:35:07 +00:00
Nicolas Pennequin
d5430994ad Oops. Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15837 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 15:55:06 +00:00
Nicolas Pennequin
c2ca8c710c * Make the Gigabeat S bootloader a bit more interesting: it looks for the first firmware file it finds on the second partition and attempts to load it. Loading fails to get past the splash screen though.
* Make the main binary compile.
To send a firmware file, use mtp-sendfile. To update you'll need to delete the previous firmware file, as files are named sequentially and the first one is loaded.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15836 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 15:40:29 +00:00
Stéphane Doyon
1dff29a9d6 Accept FS#8236: make voice should overwrite existing .voice files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15835 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:47:52 +00:00
Björn Stenberg
a0224590d4 Added some error returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15834 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:42:47 +00:00
Dan Everton
f666a7e8c6 Fix crash in sim when changing the MAS specific sound settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15833 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 10:52:03 +00:00
Stéphane Doyon
a43c5c10c8 Volume for rbspeexenc.
espeak's output is rather loud, and I used to rely on lame's --scale option.
So here's a simple volume knob (amplitude multiplier) for rbspeexenc. I
use a factor 0.6.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15832 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 03:13:02 +00:00
Jonas Häggqvist
00d0a3a661 Only compile Matrix on non-mono targets, rather than all bitmap targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15831 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:43:28 +00:00
Jonathan Gordon
923cbe3224 revert my previous commit and use a conditional for the time format instead which is probably better.
%?cf<24 hour stuff|12 hour stuff>


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15830 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:41:59 +00:00
Jonas Häggqvist
a8f900384b On second thoughts, let's compile Matrix for all non-mono bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15829 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:28:00 +00:00
Dave Chapman
4fb825eed9 Make the Gigabeat-S bootloader dual-boot. The hold switch is used to choose what to boot - because it is a simple GPIO test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15828 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:25:11 +00:00
Michael Sevakis
a8b388fb86 Enable dualcore for the pp5002 processor by adding the needed cache handling and sleep/wakeup sync to the kernel. Refine some handling of fw/bl startup for all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15827 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:20:26 +00:00
Jonathan Gordon
0ade09bd6b add 2 new tags which display the hour in 12 or 24 hour format depending on the config setting.
%cf is for padded hour
%cg is for just the number


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15826 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:18:31 +00:00
Jonas Häggqvist
7034237dbb Only compile Matrix for colour targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15825 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:59:31 +00:00
Jonas Häggqvist
450ed5273a Matrix demo plugin for colour targets. Ported from Ipodlinux who ported it from cmatrix for Linux. Closes FS#7920.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15824 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:52 +00:00
Michael Sevakis
7126d64820 Further lockdown of multipart i2c operations that must be done without intrusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15823 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:41 +00:00
Michael Sevakis
b9b736fa39 Disable low battery shutdown for the time being on iPod 3g until the battery reading strangeness is fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15822 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:32:33 +00:00
Nicolas Pennequin
774fd19c37 Checking for total free buffer space isn't correct. What we need to check is the space available for the particular handle we want to rebuffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15821 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:51:36 +00:00
Jens Arnold
120fb4f319 Speed up YUV blitting on iPod Video by ~8% (FS #8075 by Andree Buschmann).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15820 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:48:23 +00:00
Jens Arnold
727ada0ad2 Fix Player warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15819 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:24:27 +00:00
Daniel Stenberg
5d2757a43f Enable reboot on USB-insert for e200, as it works when done c200-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15818 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:13:35 +00:00
Jens Arnold
09a786138c Allow (almost) arbitrary backlight fade in and fade out times (on targets with software PWM fading), and comvert the associated settings to table settings. * Settings system: Unify a bunch of formatters and getlang helpers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15817 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:10:20 +00:00
Nicolas Pennequin
e24454f8b3 Buffering callbacks rework. There is now one callback for all the events that can occur. Callbacks are now registred only once instead of being removed after having been called.
Fix FS#8092 by flushing the audio when a rebuffer is needed.
Also add some comments here and there.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15816 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 21:13:08 +00:00
Peter D'Hoye
fa92f1b763 More Dutch langfile updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15815 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 20:47:47 +00:00
Peter D'Hoye
292d135d6f Update Dutch langfile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15814 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 20:41:31 +00:00
Alessio Lenzi
d6b0b42bdf Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15813 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 19:57:09 +00:00
Marianne Arnold
6bda0c35f3 Update greek translation once more. Strings are now in the same order as in english.lang because I was unable to find the very few small mistakes otherwise. Alexander Spyridakis translated some more strings (especially voice parts of splashes) to be on par with english.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15812 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 17:49:08 +00:00
Linus Nielsen Feltzing
236cdaee03 Make the recording screen handle button repeats correctly when changing gain. Fixes FS#8038.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15811 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 11:51:39 +00:00
Björn Stenberg
d1f22a4e86 Disabling usb reboot for Sansa E200 until system_reboot() is fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15810 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 10:20:28 +00:00
Marianne Arnold
5979d78988 Fix backlight timeout in 'keep backlight running' plugins (related to yesterday's settings rework by Jens, fix also by him).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15809 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 09:59:45 +00:00