summaryrefslogtreecommitdiff
path: root/firmware/export/eros_qn_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/eros_qn_codec.h')
-rw-r--r--firmware/export/eros_qn_codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/eros_qn_codec.h b/firmware/export/eros_qn_codec.h
index 15c745c04b..9c900186a8 100644
--- a/firmware/export/eros_qn_codec.h
+++ b/firmware/export/eros_qn_codec.h
@@ -26,6 +26,9 @@
26#define PCM5102A_VOLUME_MIN -740 26#define PCM5102A_VOLUME_MIN -740
27#define PCM5102A_VOLUME_MAX 0 27#define PCM5102A_VOLUME_MAX 0
28 28
29/* a small DC offset appears to prevent play/pause clicking */
30#define PCM_DC_OFFSET_VALUE -1
31
29AUDIOHW_SETTING(VOLUME, "dB", 0, 1, PCM5102A_VOLUME_MIN/10, PCM5102A_VOLUME_MAX/10, 0) 32AUDIOHW_SETTING(VOLUME, "dB", 0, 1, PCM5102A_VOLUME_MIN/10, PCM5102A_VOLUME_MAX/10, 0)
30 33
31/* this just calls audiohw_set_volume() with the last (locally) known volume, 34/* this just calls audiohw_set_volume() with the last (locally) known volume,