summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/wm8751.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/wm8751.c')
-rw-r--r--firmware/drivers/audio/wm8751.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c
index 2f79f27c7c..bb2b40bbbd 100644
--- a/firmware/drivers/audio/wm8751.c
+++ b/firmware/drivers/audio/wm8751.c
@@ -29,6 +29,15 @@
29#include "audio.h" 29#include "audio.h"
30#include "sound.h" 30#include "sound.h"
31 31
32const struct sound_settings_info audiohw_settings[] = {
33 [SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25},
34 [SOUND_BASS] = {"dB", 1, 15, -60, 90, 0},
35 [SOUND_TREBLE] = {"dB", 1, 15, -60, 90, 0},
36 [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0},
37 [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0},
38 [SOUND_STEREO_WIDTH] = {"%", 0, 1, 0, 255, 100},
39};
40
32/* Flags used in combination with settings */ 41/* Flags used in combination with settings */
33 42
34/* use zero crossing to reduce clicks during volume changes */ 43/* use zero crossing to reduce clicks during volume changes */