summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-02-08 13:08:55 +0000
committerHristo Kovachev <bger@rockbox.org>2006-02-08 13:08:55 +0000
commitdb734b41d5004fabd7a0cb110040d7a05bd0adb4 (patch)
tree4da56be9128183f1d33a130435b1e1600f5eab42 /apps/settings.h
parentdcc9a8a3d8171d1f7df22a405764f7b9c194c88f (diff)
downloadrockbox-db734b41d5004fabd7a0cb110040d7a05bd0adb4.tar.gz
rockbox-db734b41d5004fabd7a0cb110040d7a05bd0adb4.zip
Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.
Changes: ***1. all platforms: 1.1 corrects gain display bug; 1.2 allows combined setting of stereo gain without an extra line on the display; 2. iRiver H1xx and H3xx specific: 2.1 correctly named the decimator variables, they were called 'gain'; 2.2 splitted decimator gain settings for mic and line-in so that they are saved separately; 2.3 added combined analog and decimator gain setting giving a smooth gain range with the best analog/decimator gain combination git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 6efaacbaf3..20877b1f75 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -217,8 +217,10 @@ struct user_settings
217 int rec_left_gain; /* 0-15 */ 217 int rec_left_gain; /* 0-15 */
218 int rec_right_gain; /* 0-15 */ 218 int rec_right_gain; /* 0-15 */
219#ifdef HAVE_UDA1380 219#ifdef HAVE_UDA1380
220 int rec_adc_left_gain; /* -128 .. 48 */ 220 int rec_linein_decimator_left_gain; /* -128 .. 48 */
221 int rec_adc_right_gain; /* -128 .. 48 */ 221 int rec_linein_decimator_right_gain; /* -128 .. 48 */
222 int rec_mic_decimator_left_gain; /* -128 .. 48 */
223 int rec_mic_decimator_right_gain; /* -128 .. 48 */
222#endif 224#endif
223 bool rec_editable; /* true means that the bit reservoir is off */ 225 bool rec_editable; /* true means that the bit reservoir is off */
224 226