From 5fc66e58dd8a62099cfb1c3f7ae48d7115376be3 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Wed, 16 Aug 2006 23:26:55 +0000 Subject: 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 --- apps/settings.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index f70e29696b..cd984254d9 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 */ -- cgit v1.2.3