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.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'apps/settings.h') 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 -- cgit v1.2.3