diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2006-08-16 23:26:55 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2006-08-16 23:26:55 +0000 |
commit | 5fc66e58dd8a62099cfb1c3f7ae48d7115376be3 (patch) | |
tree | 0dc6123bb179a5eba4953d62155a4b48dea75869 /apps/settings.h | |
parent | c5a24c69221dbd8f2c55f007d9d7eaa2222fa5df (diff) | |
download | rockbox-5fc66e58dd8a62099cfb1c3f7ae48d7115376be3.tar.gz rockbox-5fc66e58dd8a62099cfb1c3f7ae48d7115376be3.zip |
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
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 27f00584a6..d87bc5ee06 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -180,6 +180,26 @@ struct user_settings | |||
180 | int rec_stop_gap; /* index of trig_durations */ | 180 | int rec_stop_gap; /* index of trig_durations */ |
181 | int rec_trigger_mode; /* see TRIG_MODE_XXX constants */ | 181 | int rec_trigger_mode; /* see TRIG_MODE_XXX constants */ |
182 | 182 | ||
183 | #ifdef HAVE_AGC | ||
184 | int rec_agc_preset_mic; /* AGC mic preset modes: | ||
185 | 0 = Off | ||
186 | 1 = Safety (clip) | ||
187 | 2 = Live (slow) | ||
188 | 3 = DJ-Set (slow) | ||
189 | 4 = Medium | ||
190 | 5 = Voice (fast) */ | ||
191 | int rec_agc_preset_line; /* AGC line-in preset modes: | ||
192 | 0 = Off | ||
193 | 1 = Safety (clip) | ||
194 | 2 = Live (slow) | ||
195 | 3 = DJ-Set (slow) | ||
196 | 4 = Medium | ||
197 | 5 = Voice (fast) */ | ||
198 | int rec_agc_maxgain_mic; /* AGC maximum mic gain */ | ||
199 | int rec_agc_maxgain_line; /* AGC maximum line-in gain */ | ||
200 | int rec_agc_cliptime; /* 0.2, 0.4, 0.6, 0.8, 1s */ | ||
201 | #endif | ||
202 | |||
183 | /* device settings */ | 203 | /* device settings */ |
184 | 204 | ||
185 | #ifdef HAVE_LCD_CONTRAST | 205 | #ifdef HAVE_LCD_CONTRAST |