Commit graph

8110 commits

Author SHA1 Message Date
Dave Chapman
06c405620c Remove X11/win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15893 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 22:34:37 +00:00
Michael Sevakis
2b5f979d75 Reformat and code police (tabs, trailing whitespace, annoying overuse of parentheses, etc.) in libmpeg2 so I can stomach working on it. Don't call IDCT functions through pointers - I don't feel like extracting that change just for relevance sake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15892 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 13:00:31 +00:00
Dan Everton
5886efabf5 Save some bytes and reuse the settings saving code for eq preset saving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15891 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 10:59:07 +00:00
Peter D'Hoye
05007e1a79 More code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15890 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 00:31:31 +00:00
Peter D'Hoye
327d78eb6e Code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15889 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 00:28:16 +00:00
Peter D'Hoye
a007b558b3 Fix gradient selection bar in recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15888 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 00:07:30 +00:00
Nicolas Pennequin
485bbbdb30 Make the "current line" value in the gradient style code zero-based, and an attempt at more understandable names and better comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15886 a1c6a512-1295-4272-9138-f99709370657
2007-12-06 17:09:24 +00:00
Adam Gashlin
d83ceef0c2 metadata writing does not belong in the spc codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15884 a1c6a512-1295-4272-9138-f99709370657
2007-12-06 00:43:52 +00:00
Mustapha Senhaji
a46ca7a1d4 OOps again, sorry :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15882 a1c6a512-1295-4272-9138-f99709370657
2007-12-05 19:30:14 +00:00
Mustapha Senhaji
1269e623a8 Oops correct a a little mistake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15881 a1c6a512-1295-4272-9138-f99709370657
2007-12-05 19:21:44 +00:00
Mustapha Senhaji
5e08c84fda FS#8244 Update Czech translation by Martin Crkovsky and add it to credits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15880 a1c6a512-1295-4272-9138-f99709370657
2007-12-05 19:06:28 +00:00
Dave Chapman
d44c718e23 Correct the (C) info - I committed this on 15 June 2005 - r6715
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15878 a1c6a512-1295-4272-9138-f99709370657
2007-12-05 10:26:38 +00:00
Thom Johansen
ea4fc14a7f Set proper file attributes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15875 a1c6a512-1295-4272-9138-f99709370657
2007-12-04 21:07:11 +00:00
Thom Johansen
5915736dd5 Put A52/AC3 metadata parser in its own file. Cosmetic changes in metadata.c. Remove some unneeded headers from MPC metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15874 a1c6a512-1295-4272-9138-f99709370657
2007-12-04 20:48:40 +00:00
Thom Johansen
b911ee822a FS #8106. Fix overflow when dithering files that clip a lot, caused by noise shaping error being calculated after clipping instead of before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15873 a1c6a512-1295-4272-9138-f99709370657
2007-12-04 16:59:45 +00:00
Thom Johansen
91c35ff773 Attempt at fixing the statusbar showing up late in some screens and circumstances.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15872 a1c6a512-1295-4272-9138-f99709370657
2007-12-04 15:11:45 +00:00
Mustapha Senhaji
08533e7f37 Minor fixes to the francais.lang file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15869 a1c6a512-1295-4272-9138-f99709370657
2007-12-02 15:29:09 +00:00
Magnus Holmgren
50ea21132b ASF/WMA: Check if the file is encrypted. If so, don't try to play it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15867 a1c6a512-1295-4272-9138-f99709370657
2007-12-02 12:52:00 +00:00
Robert Kukla
7b90826ae1 Make the ab-repeat set keys easier to use by removing a restrictive pre-condition. That also solves the awkward timing for directory skip as discussed in FS#8047. Other targets (e.g. sansa) can probably benefit from a similar change, but should be tested first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15866 a1c6a512-1295-4272-9138-f99709370657
2007-12-02 12:07:01 +00:00
Magnus Holmgren
aee243e7d8 MPC: Simplify the ReplayGain parsing code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15864 a1c6a512-1295-4272-9138-f99709370657
2007-12-01 11:55:19 +00:00
Dave Chapman
05b158f81e Code-police raid - cosmetic changes only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15862 a1c6a512-1295-4272-9138-f99709370657
2007-12-01 02:46:31 +00:00
Dave Chapman
aaacb7010f Remove the mallocs for the codecdata in the m4a parser and assume a maximum size of 64 bytes (see comments in source). Also clean up the alac_set_info() function a little and make it alignment-safe. We still need to remove the seektable related mallocs. Please report if any AAC or ALAC files stop playing in Rockbox after this commit - but it is not expected to cause problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15861 a1c6a512-1295-4272-9138-f99709370657
2007-12-01 01:01:35 +00:00
Dave Chapman
95c117cdb8 Use the correct variable name - fixes warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15860 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 19:58:59 +00:00
Brandon Low
df40425f20 Fix yellows I made the other day, gcc is an dumb, IMO
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15859 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 18:48:07 +00:00
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
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
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
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
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
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
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
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
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
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