summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-11-10 23:18:33 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-11-10 23:18:33 +0000
commitafe0da9e1677c5164291150286531ccd46ebef10 (patch)
treedc4299188d85bb2ea7babd08b57813b4df03ba8b /apps/settings.h
parent8e4a0e0aabc9c35cc6b9bc9506e629dabf291031 (diff)
downloadrockbox-afe0da9e1677c5164291150286531ccd46ebef10.tar.gz
rockbox-afe0da9e1677c5164291150286531ccd46ebef10.zip
Recording settings are now persistent. Added a Recording Settings menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2818 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 655b2e0245..2622d314f7 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -61,12 +61,27 @@ struct user_settings
61 int bass_boost; /* bass boost eq: 0-100 0=off 100=max */ 61 int bass_boost; /* bass boost eq: 0-100 0=off 100=max */
62 int avc; /* auto volume correct: 0=disable, 1=2s 2=4s 3=8s */ 62 int avc; /* auto volume correct: 0=disable, 1=2s 2=4s 3=8s */
63 int channel_config; /* Stereo, Mono, Mono left, Mono right */ 63 int channel_config; /* Stereo, Mono, Mono left, Mono right */
64
65 int rec_quality; /* 0-7 */
66 int rec_source; /* 0=mic, 1=line, 2=S/PDIF */
67 int rec_frequency; /* 0 = 44.1kHz
68 1 = 48kHz
69 2 = 32kHz
70 3 = 22.05kHz
71 4 = 24kHz
72 5 = 16kHz */
73 int rec_channels; /* 0=Stereo, 1=Mono */
74 int rec_mic_gain; /* 0-15 */
75 int rec_left_gain; /* 0-15 */
76 int rec_right_gain; /* 0-15 */
64 77
65 /* device settings */ 78 /* device settings */
66 79
67 int contrast; /* lcd contrast: 0-100 0=low 100=high */ 80 int contrast; /* lcd contrast: 0-100 0=low 100=high */
68 int poweroff; /* power off timer */ 81 int poweroff; /* power off timer */
69 int backlight_timeout; /* backlight off timeout: 0-18 0=never,1=always,then according to timeout_values[] */ 82 int backlight_timeout; /* backlight off timeout: 0-18 0=never,
83 1=always,
84 then according to timeout_values[] */
70 bool backlight_on_when_charging; 85 bool backlight_on_when_charging;
71 bool discharge; /* maintain charge of at least: false = 90%, true = 10% */ 86 bool discharge; /* maintain charge of at least: false = 90%, true = 10% */
72 87
@@ -115,8 +130,6 @@ struct user_settings
115 bool browse_current; /* 1=goto current song, 130 bool browse_current; /* 1=goto current song,
116 0=goto previous location */ 131 0=goto previous location */
117 132
118 /* geeky persistent statistics */
119 unsigned int total_uptime; /* total uptime since rockbox was first booted */
120}; 133};
121 134
122/* prototypes */ 135/* prototypes */