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
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
Magnus Holmgren
6bd8e5db08
ReplayGain support files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7233 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:25:13 +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
Linus Nielsen Feltzing
6d7ddc0a1b
New MD5 sums for bootloader v5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7221 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 09:59:15 +00:00
Linus Nielsen Feltzing
ab540cc153
Added version number to the fwpatcher build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7220 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 09:58:47 +00:00
Miika Pekkarinen
e9c0e83154
Fixed the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7219 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:44:47 +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
Jonas Häggqvist
d3cbf87305
Forgot to add to CREDITS for the Galego translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7217 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 22:56:15 +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
3b6a9f3bad
Fixed the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7212 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 12:25:30 +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
Jens Arnold
4bee507502
Check the correct thread handle.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 10:19:50 +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
Magnus Holmgren
568430421b
Don't hog the CPU, but keep sound playback working. (This might need some tweaking...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7206 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 16:52:52 +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
Magnus Holmgren
2f9bb4ff27
Sound playback for the Win32 simulator, based on WaveOut. Not yet enabled by default (edit autoconf.h).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7203 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 21:24:32 +00:00
Magnus Holmgren
d315dfb5b1
Made Win32 thread management similar to the X11 one (previously yield() could make a thread stop, seemingly forever).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7202 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 20:43:21 +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
Magnus Holmgren
30b8378b68
Win32 needs the mode bits for open too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 18:18:37 +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
Linus Nielsen Feltzing
1310390348
The iriver bootloader now doesn't reboot after USB mode, it just continues booting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7196 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 11:03:00 +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