Commit graph

694 commits

Author SHA1 Message Date
Jonathan Gordon
2816dc9c13 Convert the radio menus to the new system.
Change the way the presets are done (in code).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12500 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 09:06:30 +00:00
Jonathan Gordon
2801a87d54 Convert the EQ menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12398 a1c6a512-1295-4272-9138-f99709370657
2007-02-19 02:14:51 +00:00
Jonathan Gordon
f98c27f60f Give the file view menu a nice icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12397 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 23:51:36 +00:00
Jens Arnold
3a37f46fc9 Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Jens Arnold
c652218d14 Fix remaining CONFIG_TUNER checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:46:12 +00:00
Jonathan Gordon
bd47d48c21 Do the CONFIG_LED define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:07:19 +00:00
Jonathan Gordon
ec73eb0be1 really fix red builds this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12380 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:34:36 +00:00
Magnus Holmgren
2067fcc695 Fix most (all?) CONFIG_LED warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:22:37 +00:00
Jonathan Gordon
40a253d464 Convert the Display menu to the new system.
http://forums.rockbox.org/index.php?topic=8703.0 for bugs...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12351 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 14:02:48 +00:00
Jonathan Gordon
5599d6806d Icons in the menus. Thanks midkay for them.
Any menus which dont yet show them are not converted to the new system.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12300 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 06:58:30 +00:00
Martin Scarratt
3cf50c0007 Allow cursor changes in Morse Vkeyboard for targets that use line_edit mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12265 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 22:39:45 +00:00
Michael Sevakis
0f17532c9d Revert the changes using global status for the screen states. It should wait for a more comprehensive plan to maximize benefit if any can be had.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12231 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:36:49 +00:00
Jonathan Gordon
4718a1e752 beginning of the new menu system. This commit shouldnt break anything,
but comming ones might.. report bugs in 
http://forums.rockbox.org/index.php?topic=8703.0 and more info at 
http://www.rockbox.org/twiki/bin/view/Main/SettingsRecode


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12227 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 04:33:41 +00:00
Michael Sevakis
eed62f1657 Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Michael Sevakis
ff3bb3aa18 Don't save the in-out state of the recording screen as a setting. Fixes the statusbar icons if settings were saved while recording screen was on. Humbly may I suggest a global_state structure to do all this state checking more efficiently\? Ignore me if that's being worked on by someone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12221 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:48:19 +00:00
Nils Wallménius
28a8894656 Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12214 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 20:30:58 +00:00
Jens Arnold
6b0fdae0f6 Removed unused 'mode' parameter from mkdir() for consistency with creat().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Jens Arnold
67eb154146 Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Jonathan Gordon
228d62dd18 Split the system status variables out of global_settings and put them into a new struct global_status. Use status_save() if these need
saving.
Added car_adapter_mode to the nvram settings, so nvram settings will be reset.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 02:19:22 +00:00
Jonathan Gordon
b2e50906a4 Settings are now stored in /.rockbox/config.cfg instead of the hidden sector. (FS #6557)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 13:40:44 +00:00
Greg White
0262cba304 Align backdrop buffers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12003 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 03:29:32 +00:00
Nils Wallménius
8a71f1adfd Enable Morse mode for virtual keyboard on h10 players and make it possible to enter line edit while in Morse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11911 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 14:36:04 +00:00
Jonathan Gordon
568e18e9dd Fix FS#6361. Allow the FM auto-scanning to be abort with the standard
quit button


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11843 a1c6a512-1295-4272-9138-f99709370657
2006-12-26 22:01:27 +00:00
Jens Arnold
2597a13497 Next round of static'ing and related fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Martin Scarratt
8ab6ac7739 Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: Play(instead of long select) - accept & exit, Long menu - toggle morse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11803 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 16:57:48 +00:00
Nils Wallménius
5774709d15 One #if less :-D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11791 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 22:53:25 +00:00
Nils Wallménius
b757b50d0a Add colon and semicolon to the default virtual keyboard, clean up some unneccesary includes and exclude vkeyboard for larger displays from builds where it was never used -- saves approx 300 bytes on achos builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11790 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 19:51:30 +00:00
Michael Sevakis
ac6be5d550 Sims hate me again (or is that the other way). Fixup the stubs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11784 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 11:25:42 +00:00
Michael Sevakis
99109938fe The sims hate me again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11706 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:32:38 +00:00
Michael Sevakis
eca9f7fd60 Place all recording functionality on pcmrec thread to serialize all recording operations. Button mash problems should be ruled out of pcm_record.c. Add additional lightweight checks by default and display any warnings that occurred during recording in first line of recording screen when they occur by blinking back and forth from warning display to normal line (Warning: <hex bitmask>). Warnings are cleared when beginning a new recording so write the number down if you see it and file a report. Add heavier checks when PCMREC_PARANOID is defined in the player config header (encoders and pcm_record must be aware of the define since it changes the chunk header format). These checks are mainly concerned with things that may cause skipping but also add unwanted overhead for normal operation. Best used with logf enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11705 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:21:31 +00:00
Shachar Liberman
4d93177457 Made the AGC functions compatible with non-latin languages following the
'NonLatinLanguages' wiki page. Please keep using separate LANG_SYSFONT_
strings when using the internal font, Which only supports latin charset,
for easier translation. * Hebrew translation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11594 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 20:11:59 +00:00
Michael Sevakis
0729b928ce Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 19:49:04 +00:00
Michael Sevakis
ab1861a3c2 iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:21:15 +00:00
Jens Arnold
0b2ac4b427 BMP loader: Using shifts for division by powers of 2 saves a bit on code size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11559 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:55:09 +00:00
Jens Arnold
848e0b5a16 BMP loader: Remote LCD format support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11558 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:20:09 +00:00
Jens Arnold
d1077a8a0c Fixed the dithering once more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11555 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:58:12 +00:00
Jonathan Gordon
6288523cfe * Move checkbox to plugin api (core never uses it)
* replace the last of the scrollbar() calls with gui_scrollbar_draw()


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:11:42 +00:00
Jens Arnold
adc4848772 Complete rework of the BMP loader: * Support for 4 bit, 15/16 bit and 32 bit BMPs in addition to the already supported 1 bit, 8 bit and 24 bit formats. * Better protection against corrupt BMP files. * Added dithering for 2 bit targets. * Optimised, compact code. There's almost no code size increase for SH1 (only 68 bytes), and even a decrease for coldfire, with all the additional features. * Code policed. * Fixes bug that loading a backdrop worked only once per session.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11548 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 14:29:51 +00:00
Michael Sevakis
77b615344c H100/300: Fixed radio silence problem. Removed the wrong call in my last update. :P
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11533 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 21:30:53 +00:00
Jonathan Gordon
9270ee6aab dump the old scrollbar(), make it a wrapper to gui_scrollbar_draw() only
drawing to the main LCD. Saves ~400bytes on the recorder.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11530 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 10:11:51 +00:00
Michael Sevakis
cc50c149e9 H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 23:21:54 +00:00
Jens Arnold
0297873f6a Backdrop support for greyscale targets. WPS backdrop is untested.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 00:45:21 +00:00
Jens Arnold
83e18d982c Patch #5771 by Frederik Vestre: Fix BMP loader to work in 64bit environments (simulator).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11513 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 11:26:42 +00:00
Martin Scarratt
d8103f3ba6 Recording trigger for software codec targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11479 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 12:27:56 +00:00
Michael Sevakis
0f5cb94aa4 Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
f57de526b5 woops, damn vim isnt set to use space instead of tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11295 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 13:07:10 +00:00
Jonathan Gordon
4bf9aaf751 missed a signalscreenchange()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11294 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 13:05:29 +00:00
Barry Wardell
b990d4f26b Hopefully fix the copyright notice.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11290 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 10:33:53 +00:00
Jonathan Gordon
eee87c67b0 sorry Bjorn, blame kate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11288 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 10:12:21 +00:00
Jonathan Gordon
b8114738ec add signalscreenchange() to vkeyboard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11287 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 10:00:30 +00:00
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