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
Jonathan Gordon
fb62831faa
* Move playback menu to the new sysetm
...
(http://forums.rockbox.org/index.php?topic=8703.0 if I broke any of
those settings accidently).
* Add set_int_ex() which is the same as set_int() but adds a param which
is a callback that returns the voice ID to talk for the selected value
* Change the "pause on headphone unplug" to use meaningful strings in
the config instead of numbers, this setting will be reset.
* saves ~500bytes on the rec build :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12285 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 14:22:35 +00:00
Jonathan Gordon
332b324af8
Do a case-insensitive compare of the prefix part of filename settings.
...
fixes FS#6640
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12279 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 02:36:32 +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
fe3cfcc9b2
Convert the sound menu to the new system
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12230 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:28:42 +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
092d355c34
Kill the errors for now. Would like to know why resetting in_recording_screen from outside the function should ever be needed. If you're not in the recording screen any more, the function should have exited and reset in_recording_screen to false. If it hasn't actually been reset in that case, the function hasn't return for some reason.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12226 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 17:03:23 +00:00
Jonathan Gordon
3e16c9eb25
if you reset your settings, you wont be in the rec screen anymore!
...
(hopefully fix the statusbar problem for good)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12225 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 14:17:13 +00:00
Jonathan Gordon
48289a51ad
Do Mike's previous patch a bit nicer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12224 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 06:14:35 +00:00
Michael Sevakis
946e4f871b
Fix warnings. Initialized struct needs at least one member actually initialized. Add a dummy until at least one is guaranteed in all builds. Please remove it at that point.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12223 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:54:04 +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
Jonathan Gordon
f0d2861fc5
when saving config.cfg, only save settings which are not the same as
...
default, hopefully will give a small boost to saving and loading times.
Doing a manual save from "manage settings" > "write config" will save
every
setting.
Adds an option to save a cfg file from only the settings needed in a
theme .cfg (I may have missed some so let me know).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12172 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 13:57:14 +00:00
Steve Bavin
c47172a480
FS#4770 - Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12171 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 11:08:35 +00:00
Jonathan Gordon
7bb8b30f8e
grr! didnt see the h100 warning.. build table is too wide
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12145 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:58:35 +00:00
Jonathan Gordon
2062f63d66
fix recorder warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12144 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:44:22 +00:00
Jonathan Gordon
1382f78b7e
fix build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12143 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:32:41 +00:00
Jonathan Gordon
41bd24e7dc
Rearrange these files so they are more managable. No real code changes. Some functions/variables in these are possibly out of place and
...
should be considered for moving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12142 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:18:57 +00:00
Jonathan Gordon
bc60af1daf
fix bool settings which don't use "off,on" for their config values. Neatens up the read/write code a bit also
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12141 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 12:32:56 +00:00
Jonathan Gordon
b758883571
remove the persistant settings stuff. Load /.rockbox/fixed.cfg after config.cfg automatically instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12108 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 07:19:45 +00:00
Jonathan Gordon
b77f1217fb
Correct the spelling of persistent so its correct (Yes, I failed english at school).
...
Loading a persistent setting again (from any config file, including config.cfg unless it has a ~) will remove it from the list of
persistent settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12107 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 06:49:22 +00:00
Jonathan Gordon
46f7f7de4d
prepending ~ to a setting name in config.cfg will use its value from the load instead of the current value when saving back. (e.g
...
~volume: -25 will always boot with -25 volume, even if you shutdown with volume at 0)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12103 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 03:47:25 +00:00
Jonathan Gordon
0c3375648c
allow int settings to call a function to get the default value (Fixes the contrast problem on archos)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12102 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 03:14:07 +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
Magnus Holmgren
c23f56559f
Reduce stack usage in settings_write_config (by about 460 bytes). Should allow for a smaller ATA thread stack.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12095 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 19:54:09 +00:00
Nils Wallménius
1b85f60ae0
Permanently enable powering down the disk when it's sleeping for supported targets (iriver h1xx, h3xx and h10, iaudio x5, gigabeat and archos recorders)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12094 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 15:43:37 +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
80f8570e9b
Put backdrop back; should never have gone away.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12052 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:56:47 +00:00
Greg White
e4ef26cd40
Do not show main backdrop in settings for gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12039 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 09:49:42 +00:00
Steve Gotthardt
fb0f67e9d3
Fixes Bass and Treble not being saved. Thanks to jba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11989 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 06:05:30 +00:00
Marcoen Hirschberg
c390620439
Increase the bits for backlight brightness for the gigabeat. Settings will be reset so save them first.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11872 a1c6a512-1295-4272-9138-f99709370657
2006-12-31 02:44:53 +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
Jonathan Gordon
3bceded793
Accept FS#5344 by Mike Schmitt. Add a "shuffle and track skip" option to
...
crossfade.
Bumps config versino, so SAVE SETTINGS before updating.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11811 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 01:26:37 +00:00
Barry Wardell
df0dc2262e
FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
...
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined.
* Fix bug in AIFF encoder header creation on little endian targets.
* Add recording screen keymaps for H10 and iPod.
* Move pcm_playback PP specific code to target tree.
* Add recording code to wmcodec drivers.
* Add pcm_record code.
Some problems still remain:
* Playback doesn't work after recording until Rockbox is restarted.
* Gain control not implemented.
* Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz.
* Line-in recording not tested on H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 01:52:21 +00:00
Jonathan Gordon
3e24665c41
Fix settings not saving to disk correctly, (fixes FS#6408)
...
Stop playback.c requesting a rebuffer while not playing
Shutting down from inside the menu will now save settings to disk, and
entering the main menu will not force a setting save unless a setting
actually changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11674 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 12:11:57 +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
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
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
Jonathan Gordon
f184152c05
* changes to ata.c - idle callbacks are called after 2 sec of real idle,
...
and shutdown and usb (it makes sense here). ata_sleep doesnt get broken
by callbacks.
* allow ata_sleep() at the end of buffering again
* config block uses ata_idle instead of delayed sector when saving
* remove delayed sector code from ata_mmc.c (idle callbacks are not yet
implemented for ata_mmc.c tho)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 01:55:26 +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
6a1161b634
dont allow the volume setting to wrap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 10:11:51 +00:00
Thom Johansen
354770088e
Re-enable the currently unused and broken dithering and noise shaping code already in Rockbox, and make it a user option instead of a codec-controlled option. The majority of people probably will not even hear any difference with this enabled, but feedback is welcome. Save your settings!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11368 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 20:41:33 +00:00
Jonathan Gordon
710ccb7b48
ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 10:17:57 +00:00
Jonathan Gordon
4a4c67f660
fix the int settings on the Archos Player (left is now decrease like it should be)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11314 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 12:35:10 +00:00
Linus Nielsen Feltzing
da153da0be
Patch #5166 by Robert Keevil - Last.fm logging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 09:42:58 +00:00
Dominik Riebeling
84a2bdfe86
Oops. Stupid editor shouldn't insert tabs :(
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11185 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 09:12:23 +00:00
Dominik Riebeling
ec79219f01
Don't load wps data twice when loading from cfg file. Gives a noticable speedup when loading themes with lots of images.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11184 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 08:58:23 +00:00
Dominik Riebeling
1308bd7c8d
Fix the fm frequency not stored correctly when using europe region setting. Bump config block version, so save your settings!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11163 a1c6a512-1295-4272-9138-f99709370657
2006-10-09 23:01:29 +00:00
Jonathan Gordon
27ad51fb15
Adds random folder advance option. RESETS SETTINGS. Refer to random_folder_advance_config wiki page for more info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11158 a1c6a512-1295-4272-9138-f99709370657
2006-10-09 10:54:17 +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
Jonathan Gordon
7ae8e44c95
add some consistancy to the path #defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11114 a1c6a512-1295-4272-9138-f99709370657
2006-10-03 10:38:27 +00:00