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
This commit is contained in:
Peter D'Hoye 2006-08-16 23:26:55 +00:00
parent c5a24c6922
commit 5fc66e58dd
10 changed files with 739 additions and 6 deletions

View file

@ -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 */