Commit graph

7076 commits

Author SHA1 Message Date
Daniel Stenberg
28bd327559 Fix possible use of uninitialized variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7052 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:23:21 +00:00
Daniel Stenberg
4e52b97c7a When building with gcc 4.0, we use -Wno-pointer-sign to reduce the amount of
warnings. I consider this a temporary "fix" that we should remove later on.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7051 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:16:39 +00:00
Daniel Stenberg
11d7cb9126 entry *entryarray is static in the C source so it can't be extern here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7050 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:07:05 +00:00
Miika Pekkarinen
3eb962d13b PCM buffering fixes. Made a temporary workaround for playback glitch
bug (see the patch).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7049 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 07:15:05 +00:00
Linus Nielsen Feltzing
8d3855eb53 Removed dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7048 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 05:43:49 +00:00
Jens Arnold
d7f9439353 Adapted remote LCD driver and player graphics library to the new bitmap function naming scheme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 00:05:29 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Michiel Van Der Kolk
1076eb1d27 Check for invalid song data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7045 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:35:21 +00:00
Tomas Salfischberger
3d25240f41 (1) Set cpu to 11 Mhz when we "crash" to prevent overheating.
(2) Bind the ON button to reboot when we are in the crashed state.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7044 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 20:42:00 +00:00
Linus Nielsen Feltzing
ffd207f4b0 Makes sure that the pause/resume/prev/next functions are executed in the audio thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7043 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 19:40:17 +00:00
Tomas Salfischberger
d3424f0f51 Fixed the "overwriting bug" with aligned lines in the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7042 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 19:33:46 +00:00
Linus Nielsen Feltzing
6b582c3b92 Patch #1232741 by Frederic Devernay - chip8 plugin now playable, and with SCHIP emulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7041 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 18:38:25 +00:00
Miika Pekkarinen
22960c3f95 Waiting pcm buffer to run empty before stopping the last track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7040 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 15:44:59 +00:00
Niels Laukens
d1c294c17d Initial import of tagdb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7039 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 11:03:20 +00:00
Linus Nielsen Feltzing
5e9f52f6d1 Some interface updates and code policing in the alarm setting screen, take 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7038 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 08:30:55 +00:00
Linus Nielsen Feltzing
50d9e3fba9 Some interface updates and code policing in the alarm setting screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7037 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 08:24:24 +00:00
Miika Pekkarinen
2023b47293 Decreased pcm buffer low watermark when crossfade is not enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7036 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 08:20:53 +00:00
Christi Scarborough
65a1b1a65b Fix broken player build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7035 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 23:37:23 +00:00
Christi Scarborough
be7894509f (1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 22:27:54 +00:00
Daniel Stenberg
5081182fe1 Added CRC32 of the compressed song data, since that is what the format wants.
This is only added for mp3 yet as I didn't figure out how to get the index
to the compressed vorbis off ogg files just yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7033 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 22:02:59 +00:00
Miika Pekkarinen
2e9ce4ee47 Now codec names are in sync.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7032 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 20:35:43 +00:00
Magnus Holmgren
df384086f2 Copy the right files to .rockbox/rocks. Only tested on Cygwin though...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7031 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 20:15:44 +00:00
Miika Pekkarinen
5c2c991d14 Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".
Thanks to Magnus Holmgren. Now metadata reading is better with
improved performance for mp3 files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:55:40 +00:00
Magnus Holmgren
1e5119b77b Show the same information in the ID3 browser as in the WPS screen; use string version of tags if available, format time in the same way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7029 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:33:33 +00:00
Miika Pekkarinen
3e33a0f8ee More crossfade adjustments. Now crossfade should work shortly even if
the disk was not spinning while a new track was loaded from the disk.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7028 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 15:51:59 +00:00
Miika Pekkarinen
d6e7942426 Fixed: Crossfading, broken elapsed info with mp3 files, possible cpu
boost problem and track changing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7027 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 15:19:22 +00:00
Miika Pekkarinen
2d79df5086 Fixed a problem that caused playback to stop on certain situations. Fixed
buffer filling issue if we try to buffer more than MAX_TRACK tracks at
a same time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7026 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 13:34:52 +00:00
Linus Nielsen Feltzing
eaf8b2d76d Patch #1232549 by Ryan Jackson, adds seeking and comments to Vorbis playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7025 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 08:43:36 +00:00
Linus Nielsen Feltzing
a10bb59331 Now the CPU is idle in USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7024 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 08:02:48 +00:00
Linus Nielsen Feltzing
9b226fef0e New power-conserving CPU idle mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7023 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:58:19 +00:00
Miika Pekkarinen
aa30f0483b Fixed crossfading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7022 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:25:55 +00:00
Miika Pekkarinen
72550d94b6 More accurate runtime estimate calculation for iriver (still not very
accurate with other than 128k mp3 files).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7021 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:09:19 +00:00
Linus Nielsen Feltzing
073406a9c6 Fixed player/studio warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7020 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 00:18:20 +00:00
Linus Nielsen Feltzing
6e80ac39a5 New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 00:03:18 +00:00
Hardeep Sidhu
839dbcaed7 Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:50:57 +00:00
Michiel Van Der Kolk
3fd775b7d1 Playcount and rating support as a tag for the wps; %rp and %rr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7017 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:46:39 +00:00
Linus Nielsen Feltzing
713db304bc Disable backlight in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7016 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:42:44 +00:00
Linus Nielsen Feltzing
0f381854cf Boot from the correct address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7015 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:42:24 +00:00
Michiel Van Der Kolk
d6ab723584 moved rundb_init back to main, it has to be inited after audio_init, also, it has nothing to do with tree (though tagdb does have to do with tree)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7014 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:10:42 +00:00
Michiel Van Der Kolk
afe0941ae5 song rating support.. should probably be moved with browse id3 to a "song options" submenu in the wps context menu...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7013 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:01:31 +00:00
Miika Pekkarinen
55819b7859 Increased low watermark limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7012 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 19:17:55 +00:00
Christi Scarborough
d0ec0cec10 Move the 'manage settings' option onto the main menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7011 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 09:24:31 +00:00
Dave Bryant
febd9750f1 Created new viewer application to test WavPack encoding. Accepts .wav file
and generates lossless .wv with the same name. Runs at about 150% realtime
for now. Only problem is that folder display (and playlist?) do not get
updated when finished and since files don't show extensions it's a little
hard to tell which is which (wav is first by alpha).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7010 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 07:07:43 +00:00
Dave Bryant
dacbc16d5b Added lossless encoding to WavPack library. Also made a few changes to
decoding stuff in preparation for future optimization and eliminated all tabs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7009 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:38:00 +00:00
Jens Arnold
1d5f07b0a6 Preparation for 4-grey LCD mode on H1x0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7008 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:25:31 +00:00
Jens Arnold
f89f011508 Converted to use the IRAM defines, and some small optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7007 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:20:50 +00:00
Jens Arnold
c0e6ed6b66 Corrent ICODE_ATTR and IDATA_ATTR for CalmRISC16.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7006 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:10:44 +00:00
Miika Pekkarinen
8ad60cced2 Update the wps when next track info is available.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7005 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:06:30 +00:00
Michiel Van Der Kolk
da326050de forgot about the shutdown event hooks..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7004 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 22:53:47 +00:00
Michiel Van Der Kolk
75d16eeb5a disable on archos units till the events are implemented
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7003 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 22:33:04 +00:00