summaryrefslogtreecommitdiff
path: root/firmware/export/uda1380.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-08-21 20:33:39 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-12-12 13:14:22 +0100
commit89e6189dcbc878c4e27db8bd1aa04f87154c187a (patch)
tree8989af86ec532b15095009673aba09b0c4afd4bf /firmware/export/uda1380.h
parent4304d47d3b19bb74a18047572fad4aa3f5c8b5b8 (diff)
uda1380: document audiohw setting based on uda1380.c
Change-Id: Ia799e47249b4b0008bfe8e633c61548a667b9288
Diffstat (limited to 'firmware/export/uda1380.h')
-rw-r--r--firmware/export/uda1380.h3
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)
AUDIOHW_SETTING(BASS, "dB", 0, 2, 0, 24, 0)
AUDIOHW_SETTING(TREBLE, "dB", 0, 2, 0, 6, 0)
#ifdef HAVE_RECORDING
- /* (1/2) * 10 */
+/* microphone: -128 .. 108 -> -64 .. 54 dB gain
+ * line-in: -128 .. 96 -> -64 .. 48 dB gain */
AUDIOHW_SETTING(LEFT_GAIN, "dB", 1, 1,-128, 96, 0, val * 5)
AUDIOHW_SETTING(RIGHT_GAIN, "dB", 1, 1,-128, 96, 0, val * 5)
AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1,-128, 108, 16, val * 5)