Commit graph

3486 commits

Author SHA1 Message Date
Daniel Stenberg
758a2c823a introducing fprintf():
int fprintf(int fd, const char *fmt, ...)

Returns number of bytes written to the file descriptor.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3450 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:43:28 +00:00
Daniel Stenberg
2955a2ead3 initial test code for the snprintf() (and family) function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3449 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:12:48 +00:00
Hardeep Sidhu
e5e9bc3e65 Previous change broke read after seek. Reverted that change and added temporary fix in flush_cache to make sure we are on correct sector before writing to disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3448 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 21:13:35 +00:00
Linus Nielsen Feltzing
001226c7e1 patch #702874 by Craig Sather, fixes a pause bug in WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3447 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 12:09:09 +00:00
Linus Nielsen Feltzing
7105b28bba The frame buffer was too small for 320kbit/s frames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3446 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 07:28:12 +00:00
Björn Stenberg
c6ae452853 FM recorders can wake up from RTC alarm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3445 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 16:26:51 +00:00
Björn Stenberg
bb6e51aa0d Moved read code around a bit to more strictly obey the ATA specification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3444 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 16:06:09 +00:00
Hardeep Sidhu
67c1a0c63c Make sure we are on correct sector after lseek. This fixes the queue file corruption bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3443 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 15:39:50 +00:00
Mats Lidell
f2072f03a7 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3442 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 11:17:58 +00:00
Björn Stenberg
b551e36fb0 Bug fixes: Artist was skipped sometimes. Frequency, mpeg version & layer was never copied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3441 a1c6a512-1295-4272-9138-f99709370657
2003-03-13 19:12:05 +00:00
Björn Stenberg
b12401b4d4 Initialize return code at start of loop, not at the end.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3440 a1c6a512-1295-4272-9138-f99709370657
2003-03-13 15:45:38 +00:00
Mats Lidell
1609d6b486 Synched.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3439 a1c6a512-1295-4272-9138-f99709370657
2003-03-13 14:30:15 +00:00
Björn Stenberg
c12936973d Fix yellow win32sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3438 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 21:40:47 +00:00
Björn Stenberg
61a4cce656 Added onplay.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3437 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 20:23:07 +00:00
Björn Stenberg
d7a55e1868 Changed ON+PLAY screen to a menu, unified player & recorder and moved the code to a separate file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3436 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 20:21:30 +00:00
Björn Stenberg
074ca2eeb6 Bug fix: Menu returned wrong value if USB was connected during menu->f2/f3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3435 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 20:06:51 +00:00
Björn Stenberg
72f75f36a5 Removed CPU Sleep setting. It's now permanently enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3434 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 15:30:59 +00:00
Björn Stenberg
3ca8d3589e flush_cache() failure should still return error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3433 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 15:15:46 +00:00
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
Mats Lidell
cad6f24a50 Synched with recorder: Starts editing at the end of the string.
Bug with long strings fixed (Strings longer than newchars was
truncated.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3431 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 15:05:04 +00:00
Björn Stenberg
42f261eebe Added new tags %pf and %pv.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3430 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 12:49:36 +00:00
Björn Stenberg
c38c70194f Fix: Too many arguments to snprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3429 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 11:33:50 +00:00
Uwe Freese
7b26ebd9de better translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3428 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 10:26:44 +00:00
Björn Stenberg
10abfec207 Doubleslash eradication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3427 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 09:57:46 +00:00
Björn Stenberg
e86629158e Old danish update by Rune Wiinberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3426 a1c6a512-1295-4272-9138-f99709370657
2003-03-11 08:31:56 +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
8ef97f8db5 Patch #701103, invert option added to .cfg, plus changed AVC handling when saving .cfg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3424 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 20:56:20 +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
d5de319399 Killed sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3422 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 20:47:21 +00:00
Mats Lidell
393d16f06c Synched.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3421 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 20:19:16 +00:00
Uwe Freese
6a260a58d5 english string was overwritten with translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3420 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 19:09:00 +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
c5aaab4a36 Added .cfg file writing. Patch by Christian Determann.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3415 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 16:31:02 +00:00
Björn Stenberg
5a208d5ae5 Added wps tag %pv - current playing volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3414 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:56:14 +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
Björn Stenberg
aa2972d41b Added cursor movement (Alexander Eickhoff's patch, minus some cosmetics.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3411 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:09:27 +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
22cbe938fe Don't allow renaming to ''.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3409 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:54:23 +00:00
Björn Stenberg
d0b4e2a9bd Kill silly warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3408 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:45:03 +00:00
Björn Stenberg
118316b0ea Now only shows extensions in mode Show files: All
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3407 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:31:43 +00:00
Björn Stenberg
ae12ec721f Added new channels modes and invert setting in cfg-loader. Patch by Christian Determann.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3406 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:07:36 +00:00
Björn Stenberg
7ebebafe0e Treat empty id3 strings as non-existing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3405 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:02:52 +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
Daniel Stenberg
9963c4570b renamed string.c to misc.c and added a misc.h for the num2max5() function,
and included that header file in recording.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3403 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 12:19:49 +00:00
Linus Nielsen Feltzing
dece2cca81 Gain adjustments now use key repeats
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3402 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 11:23:57 +00:00
Linus Nielsen Feltzing
f28f404e6e Added error checking when opening the files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3401 a1c6a512-1295-4272-9138-f99709370657
2003-03-09 13:44:33 +00:00