Commit graph

1224 commits

Author SHA1 Message Date
Björn Stenberg
188be8ec57 Bug fix: If head bytes were read but sector read failed, return head byte count instead of error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3432 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 15:06:57 +00:00
Linus Nielsen Feltzing
5f12c8fbc7 Killed compiling error on debug builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3425 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 21:55:59 +00:00
Linus Nielsen Feltzing
9cb9c821a0 Killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3423 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 20:49:18 +00:00
Linus Nielsen Feltzing
2c07e78efc Don't accidentally add Xing headers to CBR files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3419 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:25:40 +00:00
Linus Nielsen Feltzing
6475aa0c85 Experimental Xing header generation added. Use with caution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3418 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:05:01 +00:00
Linus Nielsen Feltzing
673937d654 Faster disk updates with the flush() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3417 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 17:12:27 +00:00
Linus Nielsen Feltzing
44e51833ed Zagor added the flush() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3416 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 17:10:46 +00:00
Björn Stenberg
fac3bc581a Ignore duplicate id3v2 tags or frames. Patch by Bill Napier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3413 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:43:16 +00:00
Linus Nielsen Feltzing
a1598b5836 I hate it when rippers don't follow the ID3V2 specs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3412 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:32:59 +00:00
Linus Nielsen Feltzing
a039091187 New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:55:31 +00:00
Björn Stenberg
6365f2a558 Updated with new export dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3404 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 12:42:53 +00:00
Björn Stenberg
b443ba46ec Don't reboot if charger is connected when sleep timer expires, just stop the music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3397 a1c6a512-1295-4272-9138-f99709370657
2003-03-07 14:13:58 +00:00
Linus Nielsen Feltzing
16d1a68b33 update_fat_entry() set the wrong cache line dirty if bpb_resvdseccnt wasn't divisible by 32 (didn't compensate for the reserved sector count)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3379 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 13:50:23 +00:00
Daniel Stenberg
2573879fb1 Massively code-policed. We keep source lines less than 80 columns...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3378 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 05:59:38 +00:00
Daniel Stenberg
975e240a0c if MEM is not set, set it to 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3377 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 05:49:53 +00:00
Uwe Freese
21130ebc29 Found the only one point that led to imcompatibility of the CVS code with a 8MB AJB. Finally, CVS is 8 MB-mod compliant. :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3374 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 14:05:47 +00:00
Uwe Freese
63e97b66e0 estimate 22 percent longer runtime when having 8 MB, assuming 192 kbps files again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3372 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 13:23:11 +00:00
Uwe Freese
4846ce8654 export MEM variable in firmware and apps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3371 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 13:17:49 +00:00
Linus Nielsen Feltzing
680b12c0c2 Even more return code checking when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3366 a1c6a512-1295-4272-9138-f99709370657
2003-03-02 23:04:39 +00:00
Linus Nielsen Feltzing
cc136c5c60 Now correctly skips ID3V1 tags to avoid gaps between tracks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3365 a1c6a512-1295-4272-9138-f99709370657
2003-03-02 03:58:54 +00:00
Björn Stenberg
6da56d9f08 Added three new channel modes: Stereo narrow, Stereo wide, and Karaoke (voice filter). Patch by Remo Hofer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3356 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:02:20 +00:00
Björn Stenberg
b1079200d3 New option: Invert display. Patch by Mark Hillebrand.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3355 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 14:22:30 +00:00
Björn Stenberg
6a58106e97 An attempt to get rid of the "red freeze" problem: Perform a soft reset on read error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3351 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 13:26:09 +00:00
Robert Hak
648ccc8f0f code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3350 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 21:39:13 +00:00
Daniel Stenberg
1bacfaf540 set mp3end correctly depending on memory size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3349 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:45:10 +00:00
Daniel Stenberg
97d88c32ba not used anymore, see app.lds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3348 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:06:01 +00:00
Daniel Stenberg
b0c6276b40 Moved to one single .lds file for ALL builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3347 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:05:30 +00:00
Daniel Stenberg
a0086b61e1 The new preprocessed version of this file allows us to use #defines
and macros, and we now take advantage of that to set DRAM size.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3346 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 09:18:13 +00:00
Daniel Stenberg
b2b376539a this is not being used anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3343 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 08:24:08 +00:00
Linus Nielsen Feltzing
96f519999d Enhanced error codes for better error tracking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3341 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 03:02:49 +00:00
Linus Nielsen Feltzing
a077e271ee rename() didn't close the file if the target name exists, and didn't return a negative error code
Enhanced the return codes to make it easier to track panics.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3340 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 02:08:52 +00:00
Linus Nielsen Feltzing
561a06ed75 Faster shutoff with OFF key on FM Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3331 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 03:03:55 +00:00
Björn Stenberg
df194b0fc7 Code Police is never wrong. Ugh!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3325 a1c6a512-1295-4272-9138-f99709370657
2003-02-23 19:02:31 +00:00
Linus Nielsen Feltzing
490085aa7d Lame debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3322 a1c6a512-1295-4272-9138-f99709370657
2003-02-22 01:54:03 +00:00
Linus Nielsen Feltzing
94dea1e020 Safer recording, now closes the file after each successful buffer save
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3321 a1c6a512-1295-4272-9138-f99709370657
2003-02-22 01:40:57 +00:00
Linus Nielsen Feltzing
70e3331fa1 Fixed bug #688807, now the Idle poweroff works on FM recorder. Also disabled ATA-poweroff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3312 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 01:12:00 +00:00
Linus Nielsen Feltzing
400a13f468 Decreased the thread context table size to save space in IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3311 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 01:05:04 +00:00
Daniel Stenberg
5d9c45ae4f moved the single-letter wildcard to a single line to prevent the tarball-
generating script from outputting a minor warning! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3285 a1c6a512-1295-4272-9138-f99709370657
2003-02-17 14:15:28 +00:00
Daniel Stenberg
c97056d9ed include "standard" files with <> and not ""
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3266 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:38:21 +00:00
Felix Arends
e3403ecd9f this fixes the win32 simulator compilation
the simulator does not use the firmare\include path, instead it uses standard header files
those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 20:51:10 +00:00
Björn Stenberg
84eb9ce4a8 Allow simulators to use battery constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3262 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 15:09:12 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Björn Stenberg
f116d450e2 Fixed dependency on moved thread.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3256 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 08:54:04 +00:00
Linus Nielsen Feltzing
1fcd31d3ff Fixed the 3-hour time display bug, plus some cosmetic changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3253 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 02:48:12 +00:00
Linus Nielsen Feltzing
ebe0752469 Correct saving of channel config (patch by Remo Hofer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3252 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 01:49:50 +00:00
Uwe Freese
cc9b62f6b2 Mike Holden's patch that corrects the FM charger plugged symbol
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3251 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 21:45:19 +00:00
Daniel Stenberg
efbc61b26f these are now present in export/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3249 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 19:29:11 +00:00
Linus Nielsen Feltzing
bf0ac613ea Killed a nasty bug that could leave the recorded file open. This will cause the file to be 0 bytes long.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3247 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 16:25:36 +00:00
Uwe Freese
e04a3a02ac guessed battery scale factor for FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3244 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 12:05:06 +00:00
Björn Stenberg
77d457c71c Changed to use new firmware/export/ directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3243 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 08:21:52 +00:00