diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-21 20:33:39 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-12-12 13:14:22 +0100 |
commit | 89e6189dcbc878c4e27db8bd1aa04f87154c187a (patch) | |
tree | 8989af86ec532b15095009673aba09b0c4afd4bf | |
parent | 4304d47d3b19bb74a18047572fad4aa3f5c8b5b8 (diff) | |
download | rockbox-89e6189dcbc878c4e27db8bd1aa04f87154c187a.tar.gz rockbox-89e6189dcbc878c4e27db8bd1aa04f87154c187a.zip |
uda1380: document audiohw setting based on uda1380.c
Change-Id: Ia799e47249b4b0008bfe8e633c61548a667b9288
-rw-r--r-- | firmware/export/uda1380.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/uda1380.h b/firmware/export/uda1380.h index 4d4f22ff82..e0019d2bcb 100644 --- a/firmware/export/uda1380.h +++ b/firmware/export/uda1380.h | |||
@@ -29,7 +29,8 @@ AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -84, 0, -25) | |||
29 | AUDIOHW_SETTING(BASS, "dB", 0, 2, 0, 24, 0) | 29 | AUDIOHW_SETTING(BASS, "dB", 0, 2, 0, 24, 0) |
30 | AUDIOHW_SETTING(TREBLE, "dB", 0, 2, 0, 6, 0) | 30 | AUDIOHW_SETTING(TREBLE, "dB", 0, 2, 0, 6, 0) |
31 | #ifdef HAVE_RECORDING | 31 | #ifdef HAVE_RECORDING |
32 | /* (1/2) * 10 */ | 32 | /* microphone: -128 .. 108 -> -64 .. 54 dB gain |
33 | * line-in: -128 .. 96 -> -64 .. 48 dB gain */ | ||
33 | AUDIOHW_SETTING(LEFT_GAIN, "dB", 1, 1,-128, 96, 0, val * 5) | 34 | AUDIOHW_SETTING(LEFT_GAIN, "dB", 1, 1,-128, 96, 0, val * 5) |
34 | AUDIOHW_SETTING(RIGHT_GAIN, "dB", 1, 1,-128, 96, 0, val * 5) | 35 | AUDIOHW_SETTING(RIGHT_GAIN, "dB", 1, 1,-128, 96, 0, val * 5) |
35 | AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1,-128, 108, 16, val * 5) | 36 | AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1,-128, 108, 16, val * 5) |