summaryrefslogtreecommitdiff
path: root/apps/settings.c
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.c
parentc5a24c69221dbd8f2c55f007d9d7eaa2222fa5df (diff)
downloadrockbox-5fc66e58dd8a62099cfb1c3f7ae48d7115376be3.zip
rockbox-5fc66e58dd8a62099cfb1c3f7ae48d7115376be3.tar.gz
rockbox-5fc66e58dd8a62099cfb1c3f7ae48d7115376be3.tar.bz2
rockbox-5fc66e58dd8a62099cfb1c3f7ae48d7115376be3.tar.xz
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.c')
-rw-r--r--apps/settings.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index f70e296..cd98425 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -615,7 +615,13 @@ static const struct bit_entry hd_bits[] =
{1, S_O(hold_lr_for_scroll_in_list), true, "hold_lr_for_scroll_in_list", off_on },
{2, S_O(show_path_in_browser), 0, "show path in browser", "off,current directory,full path" },
-
+#ifdef HAVE_AGC
+ {4, S_O(rec_agc_preset_mic), 1, "agc mic preset", NULL}, /* 0...5 */
+ {4, S_O(rec_agc_preset_line), 1, "agc line preset", NULL}, /* 0...5 */
+ {8|SIGNED, S_O(rec_agc_maxgain_mic), 104, "agc maximum mic gain", NULL},
+ {8|SIGNED, S_O(rec_agc_maxgain_line), 96, "agc maximum line gain", NULL},
+ {3, S_O(rec_agc_cliptime), 1, "agc cliptime", "0.2s,0.4s,0.6s,0.8,1s"},
+#endif
/* If values are just added to the end, no need to bump the version. */
/* new stuff to be added at the end */