Commit graph

350 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
4dd5134a1f Killed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6587 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 01:08:18 +00:00
Jens Arnold
5690f78fb2 Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Jens Arnold
031e4b8738 New recording feature: Don't split every 24 hours if timesplit is off, but only split when the filesize approaches the 2GB limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6562 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 12:14:46 +00:00
Jens Arnold
d9b66127ac Recording screen rework: (1) Fixed irregular LED blinking on pause/ armed trigger. All redraw & LED intervals are now generated by the peakmeter_draw_get_button() delay alone, avoiding interference of different frequencies. (2) This also fixes irregular update intervals of the whole recording screen. (3) Code cleanup, smaller binary size. (4) Fixed gain limits (symmetric analog gain increase used mic gain limit, and so did the right analog gain decrease).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6559 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 10:19:45 +00:00
Jens Arnold
9d14b73989 Bugfix: The peakmeter drew too much cpu power when recording, occasionally causing the recording buffer to wrap before the first save finished (when fsinfo didn't contain a next-free-cluster hint so that an exhaustive search was necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6558 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 09:48:03 +00:00
Linus Nielsen Feltzing
88f3a53b7e iRiver remote LCD is only 128x64
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6542 a1c6a512-1295-4272-9138-f99709370657
2005-05-31 12:37:05 +00:00
Jens Arnold
e387a2238e Proper indentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6525 a1c6a512-1295-4272-9138-f99709370657
2005-05-26 20:02:12 +00:00
Daniel Stenberg
1188f933aa Made it build warning-free on the sim. This could not have worked in the sim
previously. Made readshort() and readlong() static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6444 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 22:11:15 +00:00
Daniel Stenberg
113a58dca6 include autoconf for the endian defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6422 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 23:08:14 +00:00
Daniel Stenberg
b8a23f9e49 Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Jens Arnold
b4861738c9 Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:09:09 +00:00
Jens Arnold
4e2cee1ece Bugfix: The recording screen must not touch the LED if the LED is only simulated to avoid confusion (Ondio FM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6392 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 20:10:39 +00:00
Thom Johansen
7de0b0ecae Removed 'static' keyword from non-static variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6356 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 00:10:15 +00:00
Linus Nielsen Feltzing
de4ef019b9 Long policy again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6346 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:49:08 +00:00
Linus Nielsen Feltzing
c27d51c553 Long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:21:22 +00:00
Linus Nielsen Feltzing
e2ae4f3b4b New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6341 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:58:16 +00:00
Linus Nielsen Feltzing
250678bb05 New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:42:10 +00:00
Christian Gmeiner
21aa3b135d IRiver: show logo on startup at remote lcd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6302 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 14:34:58 +00:00
Jens Arnold
c194fab162 FM preset menu: store current preset immediately after leaving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6265 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 20:26:19 +00:00
Jens Arnold
cef15c6efc FM preset menu: Set cursor to the current preset on enter. Added a generic function to the menu system which allows for setting the position.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6264 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 17:36:55 +00:00
Jens Arnold
cf986e8d44 Triggered recording fixes: (1) Made it compile for Ondio FM recorder (no led, button assigment). (2) Disabled trigger settings and peakmeter trigger handling for devices without recording. Saves > 2 KB of code on Ondio SP. (3) Const policed, saves some more code size. (4) Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6248 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 20:16:01 +00:00
Linus Nielsen Feltzing
e1f70587ce More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6247 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:36:06 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
68482bbed2 Patch #868645 by Philipp Pertermann, volume triggered recording for the Archos recording devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6243 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 09:12:12 +00:00
Linus Nielsen Feltzing
d2041832cd Forgot to include sound.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6241 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 14:09:41 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jens Arnold
59483d6768 Bugfix: Stop running recording when leaving the radio screen with the radio running (FM recorder: ON, Ondio: long OFF)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6156 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 18:03:01 +00:00
Jörg Hohensohn
f5e7a76bf0 Ondio activity icon changed to MMC/flash symbol (thanks Jens)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6099 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 22:55:52 +00:00
Daniel Stenberg
6610f8e9bb fprintf() => fdprintf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6032 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:48:36 +00:00
Jörg Hohensohn
c76fbf7162 Ondio: disk indication in the status bar, to compensate for lacking LED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6012 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 00:34:15 +00:00
Jean-Philippe Bernardy
4ff0c8e4c8 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5971 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 11:04:35 +00:00
Jean-Philippe Bernardy
b1c138ea1a Recording keys assignments for gmini 120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5855 a1c6a512-1295-4272-9138-f99709370657
2005-02-08 15:38:01 +00:00
Jens Arnold
0b31a007bb Keyboard rework & fixes: (1) Separator line no longr wraps at the right border. (2) More compact & straightfoward calculation of cursor position & string part. (3) Code cleanup. (4) Also spell the string when characters are deleted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5822 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 00:56:26 +00:00
Daniel Stenberg
db32fb131e make this build on systems with no HW codec (iriver/gmini)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5745 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:49:19 +00:00
Daniel Stenberg
1aa4dcb58e initial iriver keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5744 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:48:47 +00:00
Jens Arnold
2116bba296 New function for formatting large-range values for output, both printed and voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 00:39:20 +00:00
Jens Arnold
9d42e2b396 Renamed the config variable for the battery display type to battery_display to get it out of the way for the upcoming battery_type setting for the Ondio. Also seems more logical.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5711 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 13:48:44 +00:00
Jens Arnold
0ff13c0b0d Enabled logo display for gmini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5661 a1c6a512-1295-4272-9138-f99709370657
2005-01-25 23:55:42 +00:00
Jens Arnold
259e354889 Added button definitions for gmini build. Prettified formatting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5638 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 01:01:14 +00:00
Jens Arnold
166f7a2fe0 scrollbar(): Code size optimisation; fixed overflow with large parameters (fixes seek position display in video.rock with large files).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5566 a1c6a512-1295-4272-9138-f99709370657
2005-01-16 00:14:55 +00:00
Jörg Hohensohn
37d4730677 Ondio bugfix: recording file number generator didn't release the directory handle, causing a panic after several calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5564 a1c6a512-1295-4272-9138-f99709370657
2005-01-13 23:40:00 +00:00
Jens Arnold
ae45d970d8 Radio screen: status bar wasn't updated when prerecording buffer was filled and no button pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5513 a1c6a512-1295-4272-9138-f99709370657
2004-12-26 18:36:48 +00:00
Jörg Hohensohn
dfa95c334b different kind of recording beep: more faint, but not disturbing prerecording, can beep while we already record (no latency due to beep)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5511 a1c6a512-1295-4272-9138-f99709370657
2004-12-24 08:42:45 +00:00
Jörg Hohensohn
3bf321ff1c aid for blind recorders: longer beep when starting a recording, short beep when resuming it (you may disable the voice UI to get rid of it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5502 a1c6a512-1295-4272-9138-f99709370657
2004-12-21 23:49:43 +00:00
Daniel Stenberg
bfba2d2028 bigger Rockbox logo for bigger LCD screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5500 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 09:21:09 +00:00
Linus Nielsen Feltzing
47e8773939 An attempt to set the radio in a more defined state at boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5457 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 06:34:14 +00:00
Linus Nielsen Feltzing
e68ccbd1d8 Added iRiver button codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5437 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 10:54:59 +00:00
Jens Arnold
7b95e6091e Improved keyboard handling for Ondio, avoiding unintuitive key combos: (1) Uses 2 modes, picker and line edit, selectable by moving the cursor vertically. (2) Flips between pages on left/right wrap. No dedicated shift key.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5409 a1c6a512-1295-4272-9138-f99709370657
2004-11-14 23:08:08 +00:00
Linus Nielsen Feltzing
d15d15513d Turn off the recording LED before reporting disk-full errors. Fixes bug report #1061647
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5391 a1c6a512-1295-4272-9138-f99709370657
2004-11-08 13:20:43 +00:00
Jens Arnold
0e8169c12a Fixes: (1) Menu now disabled while recording, to prevent settings change. (2) Red led is switched off before entering menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5339 a1c6a512-1295-4272-9138-f99709370657
2004-10-24 22:30:55 +00:00