summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-08-16 23:26:55 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-08-16 23:26:55 +0000
commit5fc66e58dd8a62099cfb1c3f7ae48d7115376be3 (patch)
tree0dc6123bb179a5eba4953d62155a4b48dea75869 /apps/settings.h
parentc5a24c69221dbd8f2c55f007d9d7eaa2222fa5df (diff)
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.h20
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
int rec_stop_gap; /* index of trig_durations */
int rec_trigger_mode; /* see TRIG_MODE_XXX constants */
+#ifdef HAVE_AGC
+ int rec_agc_preset_mic; /* AGC mic preset modes:
+ 0 = Off
+ 1 = Safety (clip)
+ 2 = Live (slow)
+ 3 = DJ-Set (slow)
+ 4 = Medium
+ 5 = Voice (fast) */
+ int rec_agc_preset_line; /* AGC line-in preset modes:
+ 0 = Off
+ 1 = Safety (clip)
+ 2 = Live (slow)
+ 3 = DJ-Set (slow)
+ 4 = Medium
+ 5 = Voice (fast) */
+ int rec_agc_maxgain_mic; /* AGC maximum mic gain */
+ int rec_agc_maxgain_line; /* AGC maximum line-in gain */
+ int rec_agc_cliptime; /* 0.2, 0.4, 0.6, 0.8, 1s */
+#endif
+
/* device settings */
#ifdef HAVE_LCD_CONTRAST