diff options
Diffstat (limited to 'firmware/export/wm8975.h')
-rw-r--r-- | firmware/export/wm8975.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h index 005535bfaf..c00303a6a8 100644 --- a/firmware/export/wm8975.h +++ b/firmware/export/wm8975.h | |||
@@ -20,6 +20,13 @@ | |||
20 | #ifndef _WM8975_H | 20 | #ifndef _WM8975_H |
21 | #define _WM8975_H | 21 | #define _WM8975_H |
22 | 22 | ||
23 | /* volume/balance/treble/bass interdependency */ | ||
24 | #define VOLUME_MIN -730 | ||
25 | #define VOLUME_MAX 60 | ||
26 | |||
27 | extern int tenthdb2master(int db); | ||
28 | extern int tenthdb2mixer(int db); | ||
29 | |||
23 | extern void audiohw_reset(void); | 30 | extern void audiohw_reset(void); |
24 | extern int audiohw_init(void); | 31 | extern int audiohw_init(void); |
25 | extern void audiohw_enable_output(bool enable); | 32 | extern void audiohw_enable_output(bool enable); |