Commit graph

694 commits

Author SHA1 Message Date
Michael Sevakis
e0710b2af1 More color adjustments. Better translation to and from native colors with even distribution of levels. Macros for extracting native depth components and packing them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 17:51:00 +00:00
Michael Sevakis
661c3406a9 Added inner fill option to normal scrollbar and foreground only option. Added a left-pointing cursor for using pointer. Updated color picker and now sliders look very good on color, grayscale and mono screens when using bar selector. Some misc. changes for appearance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11210 a1c6a512-1295-4272-9138-f99709370657
2006-10-13 04:16:49 +00:00
Dominik Riebeling
379b91f505 Make sure to set deemphasis correctly when starting the radio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11205 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 19:27:00 +00:00
Dominik Riebeling
a22d995031 Fix tuning into weird frequencies at unpause after changing region setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11199 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 13:59:44 +00:00
Michael Sevakis
b5404b2ca6 Left some crud in bmp.c that should've been removed before committing. Don't know what's with me today
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11196 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 00:25:21 +00:00
Michael Sevakis
fa0ea19d5a Fixed the problem with the backdrops on iPod. The same problem was in the updated color picker and that is fixed too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11195 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 23:26:17 +00:00
Michael Sevakis
bed0db213d Small bitmap dithering tweak
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11191 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 18:12:36 +00:00
Michael Sevakis
756ce4abca Fixed errors. Forgot to include system.h for swap16 in bmp.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11181 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 01:43:53 +00:00
Michael Sevakis
76a6aaa278 Added dithering for 24 bit backdrops on 16 bit displays. FORMAT_DITHER should be specified to dither a bitmap when loading. Feel free to flame me if I got the RGB565SWAPPED thing wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11180 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 01:26:09 +00:00
Michael Sevakis
69b98bd16e Hopefully took care of FS#6105 - unnecessary 'recording screen' option in the radio menu causes rockbox to freeze.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11169 a1c6a512-1295-4272-9138-f99709370657
2006-10-10 13:42:22 +00:00
Dominik Riebeling
e66b2ec450 Implement region setting for the fm tuner. The region setting affects deemphasis, band limits and step size. Fixes FS#5929, FS#5928.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11133 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 12:40:13 +00:00
Peter D'Hoye
cb5129d074 Prevent gain increase when using AGC in Safety mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11101 a1c6a512-1295-4272-9138-f99709370657
2006-10-01 10:04:40 +00:00
Martin Scarratt
22e7e940a7 Oops, didnt mean to commit this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11081 a1c6a512-1295-4272-9138-f99709370657
2006-09-27 21:36:50 +00:00
Martin Scarratt
c06eadb572 If a directory is created in the recording screen, the dir browser needs refreshing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11080 a1c6a512-1295-4272-9138-f99709370657
2006-09-27 21:28:47 +00:00
Martin Scarratt
84cbab18da Fixed the possiblity of fooling the recording screen into writing to a non existent directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11079 a1c6a512-1295-4272-9138-f99709370657
2006-09-27 19:12:37 +00:00
Martin Scarratt
84bd53e743 Recording Statusbar: Just shove those icons right by 1 pixel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11069 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 19:28:19 +00:00
Martin Scarratt
183499a2d4 Recording screen statusbar: Improved channel icon by Paul Louden and improved Q value display for Hardware codec targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11062 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 11:56:59 +00:00
Martin Scarratt
3bf676ead3 Fix "Disk Full" splash hang in radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11051 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 19:59:37 +00:00
Martin Scarratt
5dc08bbfb2 Support for I-river remotes in the radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11033 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 12:22:01 +00:00
Martin Scarratt
a2ac8f42b1 Enable FM_MODE button and add new fm context types - now the radio should be fine!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11032 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 11:05:13 +00:00
Martin Scarratt
4598feec49 Fix warnings...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11025 a1c6a512-1295-4272-9138-f99709370657
2006-09-22 13:08:17 +00:00
Martin Scarratt
a982365711 Button action code implemented in the radio screen. Should get rid of all thos wierd doublepress bugs and you can edit your presets again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11024 a1c6a512-1295-4272-9138-f99709370657
2006-09-22 12:18:58 +00:00
Steve Bavin
1ea743fa9d Oops - put back a different #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11010 a1c6a512-1295-4272-9138-f99709370657
2006-09-20 09:59:39 +00:00
Steve Bavin
efbcc43720 Remove an #ifdef - simulators might talk too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11009 a1c6a512-1295-4272-9138-f99709370657
2006-09-20 09:31:32 +00:00
Jens Arnold
fa9dee01bc Reverted the recording timer commit, as it has at least 2 major problems. (1) It uses the user timer, which interferes e.g. with backlight fading on H1x0 (and potentially other targets). Using the user timer here is a waste, as the required timing lies in the range of seconds to days. A tick task would be sufficient. (2) It draws to the LCD from within an ISR. This must not be done unless there's a mechanism to ensure it doesn't interfere with the main thread's drawing, otherwise garbage might be displayed and LCD updates might stop working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10991 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 12:41:12 +00:00
Martin Scarratt
7ef47ed876 Recording countdown timer: set timer in recording settings screen (max 1 week countdown), start/pause timer in recording screen by pressing the pause button. If you have a separate record button then this will override the timer and start to record. Icon at bottom right of screen indicates timer is ticking. If you are in the recording screen when the countdown is over, recording will start automatically, if not then the icon will flash to indicate you should return to the recording screen to begin recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10990 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 10:06:03 +00:00
Michael Sevakis
9d56f2d2cf SWCODEC recording hang fixed. Fixed other trouble spots for codec swapping when playing. Removed call to audio_set_recording_options from fm_recording_settings on SWCODEC (Not proper to do ! My bad.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10978 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 18:52:31 +00:00
Martin Scarratt
3ad2c5ad38 Fix a possible division by zero which caused much "IO5: at 310205A0" type angst while recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10941 a1c6a512-1295-4272-9138-f99709370657
2006-09-13 18:21:03 +00:00
Magnus Holmgren
1ecdbcced2 Save a few bytes on hwcodec targets...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10937 a1c6a512-1295-4272-9138-f99709370657
2006-09-12 20:32:06 +00:00
Martin Scarratt
d7fa569df6 Improved statusbar icons in recording screen by Davide Gentile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10935 a1c6a512-1295-4272-9138-f99709370657
2006-09-12 18:26:27 +00:00
Magnus Holmgren
08a3a59ea4 Make 'Filename:' on recording screen possible to translate. Also replace some hardcoded values with sizeof.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10908 a1c6a512-1295-4272-9138-f99709370657
2006-09-09 14:53:30 +00:00
Miika Pekkarinen
548e4484c9 Fixed the warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10874 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 17:36:22 +00:00
Miika Pekkarinen
630c300660 Fixed cpu incorrectly unboosted at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10871 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 16:20:35 +00:00
Martin Scarratt
617b67e769 Display bitrate (Q value for Archos), samplerate, channels and recording format (M = MP3) in the statusbar in the recording screen. This is all new info for archos targets and I-river targets now have this info on the remote as well as the main screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10856 a1c6a512-1295-4272-9138-f99709370657
2006-09-02 17:30:30 +00:00
Martin Scarratt
2ad7b6b71f Fix a display issue for targets with AGC where filetype info was overwriting the samplerate. Also filetype always displayed directly below samplerate in all modes for all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10841 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 09:24:29 +00:00
Jonathan Gordon
a3ff431775 removed an unneeded variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10835 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 02:29:11 +00:00
Martin Scarratt
79198b9240 Fix a small display issue in the FM recording mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10819 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 08:52:04 +00:00
Michael Sevakis
4fc717a4c1 Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with additional FM Recording support and my modifications
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
2006-08-28 22:38:41 +00:00
Martin Scarratt
0ba2204beb Button action code for the Virtual keyboard. Extra buttons for H1xx remote: Vol-+ Cursor Left/Right. H3xx remote:-10/+10 Cursor Left/Right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10694 a1c6a512-1295-4272-9138-f99709370657
2006-08-22 13:21:13 +00:00
Martin Scarratt
c8bd9129bf Button action code for recording screen. Shouldnt make any noticable difference in recording screen button operation except for H300 I-River remote, which should now work as expected, -10 button = LCD off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10666 a1c6a512-1295-4272-9138-f99709370657
2006-08-20 21:33:40 +00:00
Magnus Holmgren
0b35bcfc71 Guard against division by zero in the peak meter (the settings menu allows the user the set range min and max to the same value; maybe that should be changed too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10631 a1c6a512-1295-4272-9138-f99709370657
2006-08-17 09:35:27 +00:00
Peter D'Hoye
5fc66e58dd Automatic Gain Control during recording. At this point only compiled for iriver h1x0 and h3x0. Patch FS#4748 by Jvo Studer, Martin Scarratt and myself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10625 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 23:26:55 +00:00
Linus Nielsen Feltzing
224c0a13eb Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Marcoen Hirschberg
91022738ee fix button mappings for the gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10502 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 13:25:43 +00:00
Shachar Liberman
87902874c9 oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10477 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 21:40:11 +00:00
Shachar Liberman
f17e5c04f3 FS#5587 Non-latin languages support update. Translators:Please change
the 48 new LANG_SYSFONT_ strings at the end of your language file if
they don't fit nicely with rockbox's internal font.
(for more info http://www.rockbox.org/twiki/bin/view/Main/NonLatinLanguages)
Developers:Please keep using LANG_SYSFONT strings when reffering to the
internal font. * Hebrew update.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10476 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 21:24:22 +00:00
Daniel Stenberg
1e88be518a Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Martin Scarratt
0c7f156727 Fixed display issue if you disabled remote LCD in recording screen close to bootup time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10378 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 13:12:40 +00:00
Martin Scarratt
1ae0cdbc46 I-River targets: A workaround for the recording interference hardware issue when recording with a remote. Disable remote LCD while recording by pressing vol- on the remote. All remote buttons and cliplight are still operational while lcd is disabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10376 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 12:55:27 +00:00
Linus Nielsen Feltzing
8bb4bab54b Turn off FM radio properly when starting playback, fixes FS#5706
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10321 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 12:51:33 +00:00
Antoine Cellerier
4735e8ed53 Lets keep the '\n' in (see revision 1.53's commit message)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10299 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 18:54:00 +00:00
Martin Scarratt
af5393c7a6 Fix custom Virtual keyboards (broken during VK remote support implementation)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10298 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 18:33:43 +00:00
Antoine Cellerier
8eba20aefe * when loading .kbd files, start a new line every time we find a '\n' char
* fix overlaping letters when using FONT_UI ( http://130.89.160.166/rockbox/jungti_overlapping_text.bmp )
 * remove trailing white spaces


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10296 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 17:16:38 +00:00
Martin Scarratt
d29c03484b fix for targets using line edit in virtual keyboard (spotted by freqmod)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10294 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 15:12:34 +00:00
Martin Scarratt
9130a2a4a7 Added options to timesplit recording feature (now renamed filesplit). Choose to split file by either time or filesize. Also have the option to either start a new file or stop recording at split point. Bumped config version so save your settings before you update your build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10285 a1c6a512-1295-4272-9138-f99709370657
2006-07-22 17:23:05 +00:00
Martin Scarratt
aaee4fb4a0 on-the-fly track split support for recording with IAudioX5. Also changed button mapping: short record-start new file, long record-settings, short play-pause/resume, long play-stop. Thanks to JhMikeS for testing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10276 a1c6a512-1295-4272-9138-f99709370657
2006-07-21 19:58:35 +00:00
Linus Nielsen Feltzing
49b29dd91e iAudio X5: allow recording of FM radio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10273 a1c6a512-1295-4272-9138-f99709370657
2006-07-21 09:23:13 +00:00
Linus Nielsen Feltzing
ed4d7a33bd Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5.
Also includes a rewrite of the Coldfire I2C driver to include both read and write.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10272 a1c6a512-1295-4272-9138-f99709370657
2006-07-21 08:42:28 +00:00
Martin Scarratt
76b729c47b On-the-fly filesplitting when recording for I-Rivers. Record button starts new file, Play/Pause button pauses/resumes recording. Also, Filename information for all screens > 80 pixels high.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10270 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 22:44:10 +00:00
Martin Scarratt
13e49f5f91 Completed implementation of display GUI code for recording and peakmeter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10249 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 15:30:40 +00:00
Martin Scarratt
ef8317b599 Multi screen support for the Virtual Keyboard. If the screen is too small to contain all the characters press the mode button to flip to the next page. Still need a page flip for morse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10245 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 12:07:51 +00:00
Peter D'Hoye
96d269e059 Increased peakmeter accuracy in the (for recording important) -12 to 0 dB range. Patch 5022 by Jvo Studer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10177 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 22:36:46 +00:00
Peter D'Hoye
eb34c4684d Relocated the iriver remote button defines and added them to settings.h as well for use elsewhere (later). Uses part of patch 5615 by Martin Scarratt. Fixed also one typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10163 a1c6a512-1295-4272-9138-f99709370657
2006-07-01 00:15:43 +00:00
Peter D'Hoye
83bce6e1b5 Combine two ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10161 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 22:45:40 +00:00
Peter D'Hoye
12cb51c3ca Fix two warnings for h1x0 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10160 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 21:48:01 +00:00
Peter D'Hoye
e8558e228a For iriver recording: do not boost while recording unless source is spdif. When saving to disk, boost if needed. Decreased max file size a bit for safety. Increases runtime while recording analog sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10159 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 21:24:20 +00:00
Peter D'Hoye
93b899d0fe Reworked backdrop handling. Fixes a bug that wasn't in the tracker yet ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9970 a1c6a512-1295-4272-9138-f99709370657
2006-05-21 11:00:02 +00:00
Jens Arnold
a238ab9df8 Iriver: Moved the handling of the UDA1380 split gain (analog preamp + decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
2006-05-14 23:34:24 +00:00
Thom Johansen
76b132629e Fix red sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9917 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 23:06:42 +00:00
Thom Johansen
a4bfe37c6c Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 22:55:24 +00:00
Peter D'Hoye
0d6b5557a1 Fix red builds?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9843 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 23:51:24 +00:00
Peter D'Hoye
67ff2624bf Recording buffer offset must be passed on to the firmware calls, not the other way around. Should fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 23:18:21 +00:00
Peter D'Hoye
8e71f90940 The recording buffer should not try to use the voice buffer, so map our buffer after it. On swcodec targets, recording always uses this buffer so always notify the others that we did. Fixes bug 4754.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9841 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 22:28:45 +00:00
Jens Arnold
e5b132d29f Ondio, gmini, ipod: Don't trigger vkeyboard accept if the button is already pressed when entering it. Fixes inability to save a new game from sudoku on Ondio, and potential similar problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9839 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 13:10:06 +00:00
Peter D'Hoye
ab90b1d55e Added bad filename protection when user enters an fm radio preset filename. Fixes bugreport 5137.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9795 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 00:14:21 +00:00
Frank Dischner
38ae72ac1e Fix color->grayscale bitmap loading on grayscale ipods and mono->grayscale on all grayscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9791 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 15:52:05 +00:00
Jens Arnold
a8e3313b0d Recording screen: Make the peakmeter single height again on archos, bringing back the sample frequency line. The recording screen still needs to be *properly* adapted to the multi-screen API, including the peakmeter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9770 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 23:51:06 +00:00
Jens Arnold
b5991b27ca Fixed busy loop, and implemented a simpler kind of cursor blinking that also ensures blinking always starts with 'cursor visible' after button actions. Removed redraw variable, since we now always redraw.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9757 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 13:06:57 +00:00
Zakk Roberts
a1db431d50 Updated vkeyboard. For players that require the user to scroll the cursor off the keyboard in order to edit the line itself (iPods, iAudio..), the line is now inverted when in line-edit mode. For all models: blinking line cursor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9756 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 09:43:43 +00:00
Jens Arnold
74a397738e New harddisk icon for units (and remotes) without real harddisk LED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9695 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:53:08 +00:00
Hristo Kovachev
f709ad77da FMRadio: Zero the presets struct on new "preset scan", also replace the hardcoded .name's length with a define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9452 a1c6a512-1295-4272-9138-f99709370657
2006-04-03 10:06:39 +00:00
Linus Nielsen Feltzing
defbc69b2b Patch #4999 by Matthias Mohr - Peakmeter scaling dots does not respect x-offset in peak_meter_draw
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9450 a1c6a512-1295-4272-9138-f99709370657
2006-04-03 08:20:20 +00:00
Hristo Kovachev
009853f40e Patch #2711 by Alexander Spyridakis with some changes by me: adds load/save of presets to different files;
Also fix the preset menu context menu not working on the remote


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9425 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 12:23:08 +00:00
Peter D'Hoye
769f18be1d simulator stubs for iriver recording, iriver sims now have a recording screen (doesn't actually record!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9403 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 15:52:06 +00:00
Frank Dischner
367b8ecd02 Optimize keyboard code a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9391 a1c6a512-1295-4272-9138-f99709370657
2006-03-31 13:59:04 +00:00
Frank Dischner
75c3d0b9f1 Add support for loadable vkeyboard layouts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9347 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 16:21:42 +00:00
Dan Everton
b66477adcc Support the recording screen on the LCD remote. Also adds support for the peakmeter in the rremote WPS. Patch from Martin Scarratt (task 4818).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9246 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 13:35:31 +00:00
Magnus Holmgren
4599ca3240 iRiver: Stop disabling the peak meter when stopping the radio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9137 a1c6a512-1295-4272-9138-f99709370657
2006-03-20 21:24:24 +00:00
Jens Arnold
c279335ed2 Correct pallette->RGB565 conversion when loading 1-bit BMP files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9101 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:34:45 +00:00
Linus Nielsen Feltzing
dd939aa4d7 Patch #2839 by Christian Marg - Always show the buttonbar in the keyboard screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9008 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 22:31:53 +00:00
Linus Nielsen Feltzing
21229b2f09 The image size calculation was wrong on monochrome targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9006 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 20:25:16 +00:00
Peter D'Hoye
311f73264b Make clipping detection more sensitive for swcodec platforms by triggering on the first peak value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8962 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 20:38:16 +00:00
Hristo Kovachev
3de0db0c3b Patch FS#4745 by Manuel Dejonghe 1) Get CPU out of idle mode on key press (on targets, supporting changing of the CPU freq), thus making the radio screen more responsive; 2) Mute the radio on startup or after pause, until the chip is tuned or a timeout expires (1, resp 2 sec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8944 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 11:49:06 +00:00
Peter D'Hoye
c7838b8418 Do not show peakmeter and recording time on radio screen for targets with software codec because this isn't implemented yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8897 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 19:41:16 +00:00
Peter D'Hoye
31e29038ea Always stop recording when performing shutdown in the recording screen. Fixes the file corruption reported by bmmpxf in the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8877 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 22:27:11 +00:00
Peter D'Hoye
64f0682f6e also enable recording cliplight when monitoring before recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8834 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 19:17:47 +00:00
Marcoen Hirschberg
338e2bbb0c first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
568ac3eb21 Button driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Dan Everton
e376545211 Make peak meter work in simulator for SWCODEC targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8815 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 21:13:03 +00:00
Dave Chapman
95538f6949 First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 01:23:30 +00:00
Zakk Roberts
55c98cf66d 320x98 Rockbox logo for larger LCDs (currently only iPod 5G).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8725 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 08:36:25 +00:00
Peter D'Hoye
3467ba60b1 Patch #1423609 by Martin Scarratt and myself: enables using the backlight as record clipping indicator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8722 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 22:47:56 +00:00
Hristo Kovachev
db734b41d5 Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.
Changes:
***1. all platforms:
1.1 corrects gain display bug;
1.2 allows combined setting of stereo gain without an extra
line on the display;

2. iRiver H1xx and H3xx specific:
2.1 correctly named the decimator variables, they were
called 'gain';
2.2 splitted decimator gain settings for mic and line-in so
that they are saved separately;
2.3 added combined analog and decimator gain setting giving a
smooth gain range with the best analog/decimator gain
combination


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:08:55 +00:00
Dave Chapman
cbfe90e4ab Use the iPod 4G button mappings for the iPod 3G as well (at least for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8591 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 21:18:19 +00:00
Dave Chapman
d9e5b67b71 Patch #1421422 - Backdrop image patch started by Linus, finished by me. Adds ability to set backdrop images for file browser and menus (store full-screen bitmaps in /.rockbox/backdrops/) and also the ability to set a full-screen background image in a WPS using the %X|filename.bmp| WPS tag. Currently only implemented for targets with colour LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8536 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 20:42:56 +00:00
Dave Chapman
5672c61b97 Color logo-*.c files no longer required - the bitmaps are in libbitmapsnative
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8528 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 02:37:46 +00:00
Linus Nielsen Feltzing
b69d59ba8e Handle 8-bit BMP files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8514 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 23:34:02 +00:00
Linus Nielsen Feltzing
62b22ba45f Slighly less confusing handling of inverted monochrome images
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8513 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 23:02:05 +00:00
Magnus Holmgren
fe1c9f5846 Iriver: Another grayscale bmp loader bug fixed: clear the right amount of data, to avoid garbage in the images.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8510 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 21:59:47 +00:00
Linus Nielsen Feltzing
5f0b75ebc7 Correct PaddedWidth calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8509 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 21:50:53 +00:00
Christi Scarborough
ae0ae6d5cf Small iPod colour BMP fix by linuxstd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8504 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 14:29:51 +00:00
Linus Nielsen Feltzing
ea72d05ec6 Fixed endianness problem in the BMP loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8498 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 00:40:14 +00:00
Magnus Holmgren
3b8934d6d1 Iriver: Calculate proper height (i.e., size) for grayscale bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8496 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 21:35:34 +00:00
Linus Nielsen Feltzing
3722a99dd4 Better working fix for the BMP loader transparency flag bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8481 a1c6a512-1295-4272-9138-f99709370657
2006-01-29 09:58:53 +00:00
Brandon Low
8f0740333b Temporary fix for crashing when trying to enter the WPS, thanks to Adam Boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8480 a1c6a512-1295-4272-9138-f99709370657
2006-01-29 05:05:40 +00:00
Linus Nielsen Feltzing
745adad22a Color BMP support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 12:12:42 +00:00
Miika Pekkarinen
465982b2af Little optimization to the bmp loader loop (unfortunately almost no
effect as the open() takes the longest time).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8436 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 08:12:36 +00:00
Daniel Stenberg
2c923a5efc Added (somewhat blurry) boot logo for X5 and made sure it builds logos for
remote fine


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8421 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 23:32:34 +00:00
Dave Chapman
1e7043a20b Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 21:30:32 +00:00
Daniel Stenberg
acf7d5e89e more iAudio x5 adjustments by Matt v.d. Westhuizen (#1408980)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8386 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 12:44:46 +00:00
Daniel Stenberg
cedba8830f Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 11:09:06 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Miika Pekkarinen
783428d2ee Fixed the misplaced w and v in morse input and removed scandinavian
characters for now to support utf8.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8273 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 12:46:50 +00:00
Dave Chapman
0dc63c1b71 Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 00:11:28 +00:00
Dave Chapman
2a7bd9fb7b New target - iPod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 13:04:00 +00:00
Jens Arnold
feca29576f Button assignments for H1x0 and H3x0 are identical (cosmetic).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8259 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 10:02:41 +00:00
Linus Nielsen Feltzing
7da0c40f4b Patch #1382969 by Peter D'Hoye - recording for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8252 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 10:13:29 +00:00
Linus Nielsen Feltzing
a4b15a4f1f H300 FM radio support, with help from Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8237 a1c6a512-1295-4272-9138-f99709370657
2005-12-15 01:11:19 +00:00
Marcoen Hirschberg
b0fee17d6e waiting is over: initial unicode commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Dave Chapman
8c800cf59a Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 15:23:47 +00:00
Miika Pekkarinen
2afe1f550c Fixed the red builds for archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8141 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 09:02:47 +00:00
Miika Pekkarinen
da932dcd51 Morse code fixed and added a few characters (including non-standard
code for blank). Cursor can be moved directly with arrows in morse mode.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8140 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 08:45:24 +00:00
Miika Pekkarinen
5da90fa760 Fixed the yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8139 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 07:37:24 +00:00
Miika Pekkarinen
9d918c94b5 iRiver: Added initial support for standard morse code input to virtual keyboard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8129 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 19:41:09 +00:00
Daniel Stenberg
727eab12b3 fix yellow build by removing a static unused variable from the simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8125 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:44:09 +00:00
Andy
1e4d1f8de7 iRiver recording changes:
- Added Peakmeter in recording screen
- Fix for stop bug
- Fix for playback peakmeter not working after recording


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8120 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 01:04:03 +00:00
Jens Arnold
2a31407513 Ondio FM: * Bugfix: Cancelling 'Auto Scan Presets' left the radio screen. * Put radio mode switch in radio menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8107 a1c6a512-1295-4272-9138-f99709370657
2005-11-29 15:10:07 +00:00
Jens Arnold
548755adf1 Fixed disk icon display in remote status bar on iriver. * Rolled back led.c changes, introducing a changed #if condition only. Reduces code size on targets with real controllable LED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8059 a1c6a512-1295-4272-9138-f99709370657
2005-11-24 00:10:14 +00:00
Kevin Ferrare
f57d0220dd Adapted and commited Markus Kaufhold's remote hold icon on statusbar patch for iriver ; generic logo handler (now it's possible to have a different USB logo on main screen and on remote), made the quickscreen behave as it was before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8044 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 21:55:05 +00:00
Jens Arnold
49a0a945ac Win32 simulator now supports iPod Color. Fixed screendump() to correctly work for iPod simulators on big endian machines. Removed duplicate button definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8035 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 01:15:31 +00:00
Kevin Ferrare
b363b2f934 oops ifdef error on FM recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8005 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 01:35:20 +00:00
Kevin Ferrare
1a1abf25f4 removed old statusbar and buttonbar code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 01:02:14 +00:00
Anton Oleynikov
2c836341ed new icons for radio status
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8002 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 20:45:32 +00:00
Anton Oleynikov
c94557e0b9 refactored radio status code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 19:23:44 +00:00
Anton Oleynikov
0afd9716a4 used generic yes/no dialog for confirmation of presets clearing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7996 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 14:54:41 +00:00
Dave Chapman
fe772405be iPod: First attempt to implement sensible button mappings. Changes to all targets to replace a small number of references to raw button codes (BUTTON_???) with their abstract equivalents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7983 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 03:19:12 +00:00
Dave Chapman
a807fca49b Use APPLE_IPODCOLOR and APPLE_IPODNANO defines instead of CONFIG_LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7982 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 03:09:02 +00:00
Christi Scarborough
4c0b83f5e9 Remote WPS support (and some WPS bugfixes) by Stephan Wezel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 20:14:59 +00:00
Anton Oleynikov
d79f3a1e84 added "Auto scan presets" option to radio menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7917 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:36:35 +00:00
Kevin Ferrare
e991beed6d replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Kevin Ferrare
8517ed8939 Multi screen support for playlist viewer, some fixes in other gui files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7901 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 02:12:25 +00:00
Dave Chapman
07480a7c9d Add logos for iPod color and Nano
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7889 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 02:19:02 +00:00
Linus Nielsen Feltzing
2dd518a59b H300 logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7878 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:46:48 +00:00
Linus Nielsen Feltzing
b1b3a12e76 H300 Rockbox logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7877 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:44:34 +00:00
Anton Oleynikov
697e832bef fm radio: new preset mode, new button assignment and remote support for iRiver,
misc clean up and improvements


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7849 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 21:03:53 +00:00
Linus Nielsen Feltzing
34e8359838 Allow volume change in the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7845 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 15:16:27 +00:00
Dave Chapman
64e5239b4c iPod: Add placeholder button definitions - these need reviewing when the button usage for the iPod is decided
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7830 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 16:07:17 +00:00
Andy
f6da6d85b6 Removed monitor option from audio_set_recording_options and the global setting rec_monitor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7821 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 14:49:43 +00:00
Andy
e6e5496535 iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Jens Arnold
8051a0b724 Sound settings rework: * Put all fixed parameters (unit, decimals, step, min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:12:11 +00:00
Jens Arnold
13fcd68285 Patch #1316533 by Alexander Spyridakis: All characters on one virtual keyboard page for targets with large LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7597 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 07:12:28 +00:00
Linus Nielsen Feltzing
8b9c64f19d iriver: Idle CPU in the FM radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7570 a1c6a512-1295-4272-9138-f99709370657
2005-09-29 11:19:55 +00:00
Dave Chapman
025873b3ac Enable FM presets for iriver. Add a preset via the "add" option in the radio menu, and press ON/PLAY button to bring up the list of presets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7540 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 18:36:02 +00:00
Jens Arnold
2c0d04cc94 Fixed comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7508 a1c6a512-1295-4272-9138-f99709370657
2005-09-11 17:57:31 +00:00
Linus Nielsen Feltzing
4cd06c41f6 The status bas wasn't correctly redrawn in the FM radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7484 a1c6a512-1295-4272-9138-f99709370657
2005-09-06 21:01:35 +00:00
Jens Arnold
8fd5b177ed Ondio FM: Removed S/PDIF option for recording source, as the Ondio doesn't have S/PDIF input. Bumped config block version so save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7482 a1c6a512-1295-4272-9138-f99709370657
2005-09-06 20:48:28 +00:00
Jens Arnold
1e0b5aabcb Ondio FM button assignment: The recording screen now uses up/down to select the setting, and left/right to adjust it, like the recorders. Start/pause recording is short MODE. The radio screen now requires a MODE doubleclick to start recording. This should prevent unwanted recordings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7474 a1c6a512-1295-4272-9138-f99709370657
2005-09-05 19:17:23 +00:00
Jens Arnold
58e9412bff Added universal functions for creation of numbered filenames and date+time filenames (units with RTC only). Some size optimisations within code using these new functions. Everything should behave as before, except config saving will always find the highest file number + 1 even if the sequence is non-contiguous.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7449 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 01:15:35 +00:00
Linus Nielsen Feltzing
6c2af7c2aa On popular demand, the arrow cursor is reintroduced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7438 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 08:04:37 +00:00
Linus Nielsen Feltzing
f43216ff0b Removed the line selector option, it is now always an inverse bar (except for the Player/Studio of course)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7423 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 11:10:08 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
99a0598c28 Major peakmeter rework: * Changed set/get functions for dbfs mode to bool type. * Removed performance setting, leaving (slightly adapted) high performance mode only. * Refresh rate is always 20 Hz now. * Readout doesn't do an extra (hidden) peek, should allow for slightly better clip detection. * Brought back high performance peakmeter for recording. Peakmeter stops hogging the CPU when the disk is spinning; this is enough to avoid the performance problem when saving data. * Optimisations, code cleanup and code policeing. * (iriver) Reduced CPU load of peakmeter by not calculating excessive overlaps. ** Bumped config block version, so save your settings before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7415 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 20:07:17 +00:00
Jens Arnold
9a3d117c78 Const policed the radio menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7408 a1c6a512-1295-4272-9138-f99709370657
2005-08-27 11:03:41 +00:00
Linus Nielsen Feltzing
4021798aec FM radio: fix by Antonius Hellman, no more crash when loading preset files with more than 32 entries
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7398 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 09:13:51 +00:00
Jens Arnold
c7e4f5f259 Keyboard code cleanup & optimisation. Corrected potential overflow problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7397 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 06:48:39 +00:00
Jens Arnold
6c00e38665 Icon code cleanup, optimisation & policeing. Removed unused icons. Applied uniform icon naming scheme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7396 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 00:09:42 +00:00
Jens Arnold
992cbf20a0 Corrected malformed cvs id line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7395 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 22:07:26 +00:00
Jens Arnold
a6eb0f6669 Widgets: Reduced code size by not checking coordinate boundaries, as current lcd code handles clipping. Optimised calculation of scrollbar know position/size. Always clear inner part of checkbox. Removed old progressbar/slidebar direction enum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7394 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 22:06:15 +00:00
Linus Nielsen Feltzing
0ad617cbf0 Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still not 100% complete, but I wanted to commit it before the 2.5 feature freeze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:01:12 +00:00
Linus Nielsen Feltzing
82ac901095 iriver: Radio screen didn't properly filter stray FM_EXIT events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7349 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 09:18:40 +00:00
Linus Nielsen Feltzing
604d59bc26 iriver: exit the FM screen (with FM audio on) with joystick push instead of Play
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7346 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 07:01:18 +00:00
Linus Nielsen Feltzing
d3fde76fc7 FM radio simulation working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 06:50:25 +00:00
Linus Nielsen Feltzing
8c7589bc96 Very lame, initial support for FM radio on the iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7318 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:35:02 +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
Miika Pekkarinen
e9919342c5 Initial attempt to support peak meter on iriver. It still has some
strange behaviour and readings might not be correct.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 19:29:02 +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
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Linus Nielsen Feltzing
a26b153ec9 Made the FM frequency setting wrap around
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6869 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 12:15:40 +00:00
Jens Arnold
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
24a1f94cd7 Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 23:06:06 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
97a8049389 New feature for units that can be powered or charged from USB (Recorder fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:18:29 +00:00
Daniel Stenberg
a7de2e28d3 use the 160 pixels wide logo for wider LCDs too (for now at least)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6720 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:48:50 +00:00
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