diff options
Diffstat (limited to 'firmware/export/sound.h')
-rw-r--r-- | firmware/export/sound.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/export/sound.h b/firmware/export/sound.h index 3d12a47db3..2e13174516 100644 --- a/firmware/export/sound.h +++ b/firmware/export/sound.h | |||
@@ -24,6 +24,19 @@ | |||
24 | #include <inttypes.h> | 24 | #include <inttypes.h> |
25 | #include <audiohw.h> | 25 | #include <audiohw.h> |
26 | 26 | ||
27 | #if CONFIG_CODEC == SWCODEC | ||
28 | enum { | ||
29 | DSP_CALLBACK_SET_PRESCALE = 0, | ||
30 | DSP_CALLBACK_SET_BASS, | ||
31 | DSP_CALLBACK_SET_TREBLE, | ||
32 | DSP_CALLBACK_SET_CHANNEL_CONFIG, | ||
33 | DSP_CALLBACK_SET_STEREO_WIDTH, | ||
34 | #ifdef HAVE_SW_VOLUME_CONTROL | ||
35 | DSP_CALLBACK_SET_SW_VOLUME, | ||
36 | #endif | ||
37 | }; | ||
38 | #endif | ||
39 | |||
27 | typedef void sound_set_type(int value); | 40 | typedef void sound_set_type(int value); |
28 | 41 | ||
29 | const char *sound_unit(int setting); | 42 | const char *sound_unit(int setting); |