Commit graph

7256 commits

Author SHA1 Message Date
Ryan Jackson
0812164ada Fixed track changing in REPEAT_ONE mode and playlists with only one track. Removed previous workaround for this bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7284 a1c6a512-1295-4272-9138-f99709370657
2005-08-05 23:51:48 +00:00
Mats Lidell
e9c35b17d0 Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7283 a1c6a512-1295-4272-9138-f99709370657
2005-08-04 22:30:15 +00:00
Daniel Stenberg
9990dec651 don't assume ../firmware, use the passed in dir path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7282 a1c6a512-1295-4272-9138-f99709370657
2005-08-04 18:11:46 +00:00
Björn Stenberg
b69d152a7e point to the wiki
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7281 a1c6a512-1295-4272-9138-f99709370657
2005-08-04 10:06:00 +00:00
Daniel Stenberg
0f820d6ed7 Increased maximum file size for models with LCD height larger than 64 to
10000 bytes. Also adjusted the buildzip script to dynamically figure out the
maximum buffer size for the particular build that the zip is made for.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7280 a1c6a512-1295-4272-9138-f99709370657
2005-08-03 21:31:51 +00:00
Christian Gmeiner
e6ad9458d1 headphone volume should be correct now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7279 a1c6a512-1295-4272-9138-f99709370657
2005-08-02 04:47:24 +00:00
Jens Arnold
0c29589d8a Assembler optimised 64 bit multiplication for coldfire: ~15% speedup. Proper max_iter decrease amount.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7278 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 20:49:41 +00:00
Jens Arnold
96ea362a27 Fixed comma display of these fonts. Thanks to Antonius Hellmann for pointing out the problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7277 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 14:39:11 +00:00
Jens Arnold
ec62b1ac56 Another small opt for the SH1 64 bit multiplication.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7276 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 01:41:35 +00:00
Jens Arnold
a691db61a6 Killed signed/unsigned inconsistency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7275 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 01:27:10 +00:00
Jens Arnold
6b749c5ab1 Further optimised asm 64 bit multiplication for SH1, speedup around 20%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7274 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 01:23:04 +00:00
Daniel Stenberg
e7bd73f5dc fixed comment in generated header file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7273 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 21:58:49 +00:00
Christian Gmeiner
102faf473c oops... fixes red build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7272 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:52:55 +00:00
Christian Gmeiner
4894a06a15 iAudio, iRiver: As both platforms use the same i2c interface i have renamed i2c-h100.c/h to i2c-coldfire.c/h. Also i have changed some stuff in config.h and config-xx.h. Hope everybody agrees with this patch, else we can unroll and improve it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7271 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:31:33 +00:00
Christian Gmeiner
6109a3b0be iAudio: adding support for mcf5250
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7270 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 08:43:36 +00:00
Miika Pekkarinen
637887838f Fixed a hang with backward skipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7269 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 20:46:38 +00:00
Ryan Jackson
1476fecf72 All repeat modes now work correctly if there is only one track in the playlist. Fixed a track-changing bug in 'Move to Next Folder' mode that could cause Rockbox to crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7268 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 19:36:06 +00:00
Miika Pekkarinen
05820cbc07 Now playlist ending and skipping to a next directory should work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7267 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 18:47:12 +00:00
Miika Pekkarinen
47c82f295b Fixed a problem that wps didn't exit at end of the playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7266 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 18:25:27 +00:00
Magnus Holmgren
97c6fd0892 'Move to Next Folder' didn't work if it involved going up to the root of the drive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7265 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 18:12:25 +00:00
Miika Pekkarinen
7e58bd7cb8 Correctly setting the last_index to prevent playback stuttering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7264 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 17:53:56 +00:00
Miika Pekkarinen
4633d01eaf Now removing right tracks from playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7263 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 17:41:26 +00:00
Miika Pekkarinen
fd7952e413 Fixed a hang on track changed. Automatically deleting invalid track
entries from current playlist.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7262 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 17:00:06 +00:00
Magnus Holmgren
059a6c8671 Make simulator version of FRACMUL correct. Also corrected related comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7261 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:47:16 +00:00
Miika Pekkarinen
6b807b2d24 Fixed MAC initialization problem with mpa codec and removed workaround
for that bug.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:46:38 +00:00
Jens Arnold
43b9cda13c Ooops, the adapted maximum iteration count was off by 60...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7259 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:02:33 +00:00
Jens Arnold
3d73790ab7 Heavily improved mandelbrot plugin: (1) Calculation now uses 64bit fixed point arithmetics to allow zooming in way further before the precision barrier will hit. Added asm-optimised 64bit multiplication routine for SH1; more than twice as fast as what gcc produces. (2) Precision is dynamically selected based on the zoom level, low zoom factors still use 32bit for speed. (3) Maximum number of iterations is adapted to the zoom level. You can still increase / decrease it while staying at a zoom level. (4) Panning only recalculates the scrolled-in part of the screen -> way faster panning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7258 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 12:42:11 +00:00
Daniel Stenberg
204ff7e473 typo, pointed out by Dave Wiard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7257 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 08:28:53 +00:00
Christian Gmeiner
86c8586e47 iAudio: Preperations for audio codec driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7256 a1c6a512-1295-4272-9138-f99709370657
2005-07-29 12:58:59 +00:00
Magnus Holmgren
ff1f904af2 And fix that red build too...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7255 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 22:23:43 +00:00
Ryan Jackson
9e35640fcc Fixed a bug that prevented the last tag in a flac file from being read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7254 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 20:21:54 +00:00
Ryan Jackson
b301b43825 Added comments, Replay Gain, and resume/bookmarks for FLAC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7253 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 18:43:33 +00:00
Jens Arnold
773c28e489 Mandelbrot plugin fixes: (1) Aspect handling was broken, it has to keep the x/y aspect which has almost nothing to do with the LCD aspect. (2) Comment about the # of shades. (3) Fixed and tweaked initial x and y limits. (4) Long policy, minor optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7252 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 18:18:15 +00:00
Jens Arnold
6ae8104e84 bmp2rb: Prepared for future colour bitmap support. The tool reads all BMPs into an internal full-colour bitmap now, then converts to the various destination formats from that. Correct 16-bit BMP colour handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7251 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 16:31:02 +00:00
Jens Arnold
feaf62704e Grayscale lib: Moved the shift count doubling for unbuffered up/down scrolling out of the asm block itself (cosmetic).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7250 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 14:08:58 +00:00
Magnus Holmgren
7e33f16aee Tweaked IRAM usage in the Vorbis codec. Speeds up decoding by about 10% on a couple of test files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7249 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 12:04:41 +00:00
Jens Arnold
b65b52b1b9 Adjusted grayscale demo plugin to H1x0: (1) Button assignment. (2) Variable screen resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7248 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 09:15:00 +00:00
Jens Arnold
05af28036e Fixed scroll step settings >127 pixels not working (reported on irc). Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 08:36:24 +00:00
Jens Arnold
d074ed66d9 Adjusted JPEG viewer to H1x0: (1) Button assignments. (2) Workaround for the m68k-elf-gcc requiring memcpy internally, by using rb->memcpy explicitly. (3) Variable LCD resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7246 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 20:06:26 +00:00
Jens Arnold
a14f545ded Adjusted mandelbrot plugin to H1x0: (1) Working button assignment. (2) Different LCD aspect. Note that there is something wrong with the aspect when zooming; this was in fact there before, also on archos. (3) Grayscale library init for variable LCD resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7245 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 20:03:52 +00:00
Jens Arnold
00866dbf86 Grayscale library: (1) Ported to iriver H1x0. Experiments have shown that the intended 49-shade mode isn't possible due to interference between the internal greylevel generation of the LCD and external pixel flipping, so the lib allows 33 shades as on the Archos. The current implementation wastes RAM by not switching the LCD to b&w mode and simply using colours 0 and 3 only. However, this allows to show a partial greyscale overlay and normal 4-shade graphics in parallel. (2) Converted all asm blocks to use symbolic parameters. (3) Properly marked asm input parameters that are changed within the block as in-out and feed them from a temp variable where necessary. (4) Screenshot is not yet working on H1x0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7244 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 19:58:49 +00:00
Magnus Holmgren
988ea2cffc Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 11:54:33 +00:00
Jens Arnold
e44372ef18 Moved implementation of user timer to the firmware layer, implemented it for iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
2005-07-26 20:01:11 +00:00
Jens Arnold
c20a00ef3e Complete rework of the grayscale library: (1) Implemented the new rockbox graphics api. (2) Added buffered mode, and implemented most drawing functions for buffered mode only. Buffered mode will ease implementation of animated graphics. Some functions are additionally provided as unbuffered versions (drawing grayscale bitmaps, scrolling) since unbuffered mode is better suited for non-animated graphics (JPEG viewer, mandelbrot) and saves some RAM, which is important on Archos. (3) Put all functions in a couple of source files, no more one-function-per-files. This became possible since sectioned compilation for the plugin library and appropriate linking for the pluginswas introduced, otherwise the binaries would be bloated by unused functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7241 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 20:50:34 +00:00
Jens Arnold
12a4ed383f Added font_getstringsize to the plugin api, needed for the reworked grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7240 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 19:56:35 +00:00
Magnus Holmgren
210ce6a766 Speed up clipping; makes Vorbis decoding almost as fast as before the VorbisGain addition. Speeds up MP3 decoding as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7239 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 13:34:28 +00:00
Dave Bryant
27c83252e2 The peak meter on iRiver didn't look right to me and the code seemed to be
making it a lot more complicated that it needed to be, so I threw in some new
code. This should be easy to adjust for different CPU loads, and I set it up
to use a little less than what was there. If this causes any trouble, please
roll it back.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7238 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 05:50:47 +00:00
Dave Bryant
c5ebc8e4e4 Added ReplayGain support to WavPack, including a small fix to dsp.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7237 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 03:34:25 +00:00
Magnus Holmgren
49775a4602 Increased language buffer size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7236 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 19:15:33 +00:00
Magnus Holmgren
8189be1655 Calculate the with of the right string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7235 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 16:03:44 +00:00