summaryrefslogtreecommitdiff
path: root/apps/settings.h
AgeCommit message (Collapse)Author
2007-02-07Do Mike's previous patch a bit nicer.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12224 a1c6a512-1295-4272-9138-f99709370657
2007-02-07Fix warnings. Initialized struct needs at least one member actually ↵Michael Sevakis
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-07Change the radio screen and recording screen to use the global_status ↵Michael Sevakis
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-07Don't save the in-out state of the recording screen as a setting. Fixes the ↵Michael Sevakis
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-03Allow longer filenames for settings files. (fixes FS #6615)Marianne Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12184 a1c6a512-1295-4272-9138-f99709370657
2007-02-01when saving config.cfg, only save settings which are not the same as Jonathan Gordon
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-01FS#4770 - Add USB charging for the H300 seriesSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12169 a1c6a512-1295-4272-9138-f99709370657
2007-01-29Rearrange these files so they are more managable. No real code changes. Some ↵Jonathan Gordon
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-25remove the persistant settings stuff. Load /.rockbox/fixed.cfg after ↵Jonathan Gordon
config.cfg automatically instead git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12108 a1c6a512-1295-4272-9138-f99709370657
2007-01-24Split the system status variables out of global_settings and put them into a ↵Jonathan Gordon
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-23Permanently enable powering down the disk when it's sleeping for supported ↵Nils Wallménius
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-23Settings are now stored in /.rockbox/config.cfg instead of the hidden ↵Jonathan Gordon
sector. (FS #6557) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2006-12-19Accept FS#5344 by Mike Schmitt. Add a "shuffle and track skip" option toJonathan Gordon
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-11-24Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on ↵Michael Sevakis
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-13Backdrop support for greyscale targets. WPS backdrop is untested.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Support building tagcache db natively on PC using the core of theMiika Pekkarinen
Rockbox tagcache database engine. Only host endian support at the moment and no command line parameters. Mainly for developers for debugging at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Recording trigger for software codec targetsMartin Scarratt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11479 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis
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-10-27Re-enable the currently unused and broken dithering and noise shaping code ↵Thom Johansen
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-25ifdef all the tagcache code, allows rombox to be compiled again, Thanks ↵Jonathan Gordon
Austin Appel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-19Patch #5166 by Robert Keevil - Last.fm loggingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
2006-10-09Adds random folder advance option. RESETS SETTINGS. Refer to ↵Jonathan Gordon
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-05Implement region setting for the fm tuner. The region setting affects ↵Dominik Riebeling
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-03add some consistancy to the path #definesJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11114 a1c6a512-1295-4272-9138-f99709370657
2006-09-27Oops, didnt mean to commit thisMartin Scarratt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11081 a1c6a512-1295-4272-9138-f99709370657
2006-09-27If a directory is created in the recording screen, the dir browser needs ↵Martin Scarratt
refreshing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11080 a1c6a512-1295-4272-9138-f99709370657
2006-09-26Fixed remote contrast settings. Maybe'll get some build errors here.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11071 a1c6a512-1295-4272-9138-f99709370657
2006-09-26Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the ↵Linus Nielsen Feltzing
headphones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657
2006-09-18Reverted the recording timer commit, as it has at least 2 major problems. ↵Jens Arnold
(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-18Recording countdown timer: set timer in recording settings screen (max 1 ↵Martin Scarratt
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-10Added remote backlight on hold option to players with remote hold switch. ↵Michael Sevakis
Disabled IRQs while reading pcf50606 ADC. This seems to have stopped buttons becoming unresponsive when using remote. Maybe fixes other button glitches as well? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10911 a1c6a512-1295-4272-9138-f99709370657
2006-09-09H10 fixes: Split LCD driver up into two drivers, one for each LCD type. ↵Barry Wardell
Improvements to 20GB LCD driver - support for enable/disable, contrast adjustment, make the update code clearer and ~4% faster, support for flipping, support for invert. Fix CPU frequency for both models. Fix default battery capacity for 5/6GB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10910 a1c6a512-1295-4272-9138-f99709370657
2006-09-02#include button.h in settings.h - HAVE_BUTTON_HOLD (defined in button.h) is ↵Dave Chapman
used in the definition of the settings structure - meaning different settings structures were being used depending on whether the .c file included button.h before settings.h or not. Thanks to David Rothenberger for spotting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10857 a1c6a512-1295-4272-9138-f99709370657
2006-09-02Display bitrate (Q value for Archos), samplerate, channels and recording ↵Martin Scarratt
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-08-28Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis
additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
2006-08-16Automatic Gain Control during recording. At this point only compiled for ↵Peter D'Hoye
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-15Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing
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-15Add support for displaying the the current path or the full path (or ↵Dan Everton
neither) in the file browser. Check General Settings -> File View -> Show Path for the options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10578 a1c6a512-1295-4272-9138-f99709370657
2006-08-14Add support for the iPod Video hardware equalizer. You can access it from ↵Dan Everton
Sound Settings -> Equalizer -> Hardware Equalizer. Note that the peak filters are reported not to work. Based on FS#5791 from Snyper. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10568 a1c6a512-1295-4272-9138-f99709370657
2006-08-08Accepted FS #5772 by Michael SevakisRani Hod
1. X5 lcd sleep 2. #define HAVE_LCD_ENABLE 3. add "backlight (on hold switch)" setting, adapted from FS #5735 Note that the while(1) yield ==> asm("halt") part is NOT commited here, I prefer it would be discussed separately. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Barry Wardell's keymappings for H10Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-07-31Applied FS#5734 by Michael Sevakis (X5 LCD contrast bugfix andRani Hod
some #define fixup). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10388 a1c6a512-1295-4272-9138-f99709370657
2006-07-25Contrast setting cleanup: * Only include contrast setting for targets where ↵Jens Arnold
it's used. * Make lcd_default_contrast() a stub for simulators. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10317 a1c6a512-1295-4272-9138-f99709370657
2006-07-25Restore the default backlight settings broken by RaniLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10314 a1c6a512-1295-4272-9138-f99709370657
2006-07-23Accepted FS #5474 by yours truly.Rani Hod
Save your settings; CONFIG_BLOCK_VERSION is increased. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10303 a1c6a512-1295-4272-9138-f99709370657
2006-07-22Added options to timesplit recording feature (now renamed filesplit). Choose ↵Martin Scarratt
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-22Patch by Alexander Spyridakis - Add forgotten remote_bidir_scroll setting. ↵Dave Chapman
Don't forget to save your settings before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10283 a1c6a512-1295-4272-9138-f99709370657
2006-07-10Oops, forgot to commit this.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10193 a1c6a512-1295-4272-9138-f99709370657
2006-07-01Relocated the iriver remote button defines and added them to settings.h as ↵Peter D'Hoye
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-05-25Moved the free diskspace scan into 'Rockbox Info'. Idea based on patch #4800 ↵Jens Arnold
by Manuel Dejonghe. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9985 a1c6a512-1295-4272-9138-f99709370657