summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/hifimanhm60x.h2
-rw-r--r--firmware/export/config/hifimanhm801.h2
-rw-r--r--firmware/export/dummy_codec.h3
3 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/config/hifimanhm60x.h b/firmware/export/config/hifimanhm60x.h
index 088cc12b09..f5b768defe 100644
--- a/firmware/export/config/hifimanhm60x.h
+++ b/firmware/export/config/hifimanhm60x.h
@@ -53,6 +53,8 @@
53#define CONFIG_NAND NAND_RK27XX 53#define CONFIG_NAND NAND_RK27XX
54#define HAVE_SW_TONE_CONTROLS 54#define HAVE_SW_TONE_CONTROLS
55 55
56#define HAVE_SW_VOLUME_CONTROL
57
56/* commented for now */ 58/* commented for now */
57/* #define HAVE_HOTSWAP */ 59/* #define HAVE_HOTSWAP */
58 60
diff --git a/firmware/export/config/hifimanhm801.h b/firmware/export/config/hifimanhm801.h
index e253fa0051..bcbf5e82f5 100644
--- a/firmware/export/config/hifimanhm801.h
+++ b/firmware/export/config/hifimanhm801.h
@@ -50,6 +50,8 @@
50#define CONFIG_NAND NAND_RK27XX 50#define CONFIG_NAND NAND_RK27XX
51#define HAVE_SW_TONE_CONTROLS 51#define HAVE_SW_TONE_CONTROLS
52 52
53#define HAVE_SW_VOLUME_CONTROL
54
53/* commented for now */ 55/* commented for now */
54/* #define HAVE_HOTSWAP */ 56/* #define HAVE_HOTSWAP */
55 57
diff --git a/firmware/export/dummy_codec.h b/firmware/export/dummy_codec.h
index b85ec8fb0e..122b55ef2f 100644
--- a/firmware/export/dummy_codec.h
+++ b/firmware/export/dummy_codec.h
@@ -22,8 +22,9 @@
22#ifndef __DUMMY_CODEC_H_ 22#ifndef __DUMMY_CODEC_H_
23#define __DUMMY_CODEC_H_ 23#define __DUMMY_CODEC_H_
24 24
25#define VOLUME_MIN -1 25#define VOLUME_MIN -730
26#define VOLUME_MAX 0 26#define VOLUME_MAX 0
27 27
28void audiohw_set_master_vol(int vol_l, int vol_r);
28 29
29#endif /* __DUMMY_CODEC_H_ */ 30#endif /* __DUMMY_CODEC_H_ */