Commit graph

3309 commits

Author SHA1 Message Date
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
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
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
Magnus Holmgren
4a53787992 ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Ryan Jackson
795ce8b1a8 Changing tracks in REPEAT_ONE mode restarts the current track instead of crashing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7232 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 04:17:34 +00:00
Ryan Jackson
255e1cf79c Changing repeat mode from quick screen now works correctly on iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7231 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 19:00:22 +00:00
Miika Pekkarinen
7fa9f603e2 Fixed a hang while selecting a new track and playback was paused. This
was probably my last commit within the next three weeks, see you around!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7230 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 16:09:50 +00:00
Miika Pekkarinen
ae5002d1da Fixed the backwards skipping problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7229 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 08:48:10 +00:00
Jonas Häggqvist
ecba353d52 Really synced now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7228 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 21:20:46 +00:00
Jonas Häggqvist
6c2f3d6a2d Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7227 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 21:17:51 +00:00
Miika Pekkarinen
8101542fbb Updates to the finnish.lang.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7226 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 17:58:17 +00:00
Miika Pekkarinen
e0d17510d9 Show a nice splash screen when restarting the playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7225 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 16:57:08 +00:00
Miika Pekkarinen
90161c92dd It's now possible to select the crossfading mode: "Off, Crossfade,
Mix". If set to mix, no fading is applied but tracks are mixed up.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7224 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 16:46:27 +00:00
Jens Arnold
4f6375ca17 H1x0: Made the cursor movement button combos usable. Perhaps it would be better to use an Ondio-like mode mechanism instead, or move the accept function to a long press of SELECT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7223 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 12:42:50 +00:00
Miika Pekkarinen
eab434c416 More accurate playback position calculation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:32:55 +00:00
Miika Pekkarinen
ac01c6afc4 Applying crossfade settings after exiting the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7216 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 20:03:03 +00:00
Miika Pekkarinen
857ee67b6a Fixed the unnecessary compiler warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7215 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 16:16:30 +00:00
Miika Pekkarinen
ab2163bdf5 Fixed the crossfade setting: Resuming stopped playback automatically
when changing values, setting crossfade amount correctly and pcm
drivers should not be re-initialized.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7214 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 15:47:29 +00:00
Jonas Häggqvist
daaa71fc5c Updated Galician (Galego) translation by José M. Fandiño
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7213 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 13:43:58 +00:00
Miika Pekkarinen
ebb9099ca2 Forgot to commit these files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7211 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 12:03:38 +00:00
Miika Pekkarinen
f090dc3829 Crossfade (and pcm buffer size) length is now configurable.
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Magnus Holmgren
6e5171d354 Add missing Makefile modification for sound in the Win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7208 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 09:54:04 +00:00
Miika Pekkarinen
5755ffe60c Fixed the backwards skipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7207 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 18:50:07 +00:00
Miika Pekkarinen
bd1131e748 Implemented mp3_pause_done() for software codecs to make wps correctly
wait for pause to complete when fading the volume.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7205 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 01:58:27 +00:00
Ryan Jackson
300fb882be No longer crashes when resuming or on shutdown in car adapter mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7204 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 22:01:47 +00:00
Miika Pekkarinen
d83b659fa7 Fixed track changing problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7201 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 19:57:23 +00:00
Jens Arnold
79442c8fbd Sokoban: Use greyscale for walls, proper scaling of the player graphic, show button assignments on iriver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7199 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 16:48:02 +00:00
Jens Arnold
f3c4272919 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7198 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 16:23:51 +00:00
Jens Arnold
c001bb16d2 Use greyscale graphics in minesweeper.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7197 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 15:39:54 +00:00
Jens Arnold
b0e056b5ae More preparations and conversions for colour LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 10:33:41 +00:00
Jens Arnold
82ea7c3bac Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 09:24:29 +00:00
Linus Nielsen Feltzing
3c82b84d52 iriver debug menu: S/PDIF analyzer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7190 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 18:28:49 +00:00
Christian Gmeiner
6753fb5138 oops... should compile without warnings now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7187 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 13:09:05 +00:00
Christian Gmeiner
c6ff1f5eb5 Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Miika Pekkarinen
f5df9cd81c Track count is now correct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7185 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 06:10:53 +00:00
Miika Pekkarinen
e361749fe2 Fixed a problem that caused codec switching to fail on certain rare
conditions.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7184 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 21:44:58 +00:00
Miika Pekkarinen
e9919342c5 Initial attempt to support peak meter on iriver. It still has some
strange behaviour and readings might not be correct.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 19:29:02 +00:00