summaryrefslogtreecommitdiff
path: root/firmware/export/eros_qn_codec.h
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-08-01 21:58:33 -0500
committerAidan MacDonald <amachronic@protonmail.com>2021-08-07 14:21:47 +0000
commit56b0dde5451ddedfd85c82391536e310cd05e1a8 (patch)
tree19d988f8cad0976abd086ee306ecbc840a1d477d /firmware/export/eros_qn_codec.h
parent16b009825608164b17dabd877c78123a667b4981 (diff)
downloadrockbox-56b0dde5451ddedfd85c82391536e310cd05e1a8.tar.gz
rockbox-56b0dde5451ddedfd85c82391536e310cd05e1a8.zip
Higher bitdepth software volume scaling
Operates between 0 and -74 dB (mute) without issue Change-Id: I497e002bd8db43833a09ebbc29212fbb6cc8ebfd
Diffstat (limited to 'firmware/export/eros_qn_codec.h')
-rw-r--r--firmware/export/eros_qn_codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/eros_qn_codec.h b/firmware/export/eros_qn_codec.h
index 9c900186a8..ae04c66799 100644
--- a/firmware/export/eros_qn_codec.h
+++ b/firmware/export/eros_qn_codec.h
@@ -29,7 +29,7 @@
29/* a small DC offset appears to prevent play/pause clicking */ 29/* a small DC offset appears to prevent play/pause clicking */
30#define PCM_DC_OFFSET_VALUE -1 30#define PCM_DC_OFFSET_VALUE -1
31 31
32AUDIOHW_SETTING(VOLUME, "dB", 0, 1, PCM5102A_VOLUME_MIN/10, PCM5102A_VOLUME_MAX/10, 0) 32AUDIOHW_SETTING(VOLUME, "dB", 0, 2, PCM5102A_VOLUME_MIN/10, PCM5102A_VOLUME_MAX/10, 0)
33 33
34/* 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,
35 * used for switching to/from fixed line out volume. */ 35 * used for switching to/from fixed line out volume. */