diff options
Diffstat (limited to 'firmware/export/wm8758.h')
-rw-r--r-- | firmware/export/wm8758.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h index e0b66b614f..ca7074646d 100644 --- a/firmware/export/wm8758.h +++ b/firmware/export/wm8758.h | |||
@@ -20,25 +20,25 @@ | |||
20 | #ifndef _WM8758_H | 20 | #ifndef _WM8758_H |
21 | #define _WM8758_H | 21 | #define _WM8758_H |
22 | 22 | ||
23 | extern void wmcodec_reset(void); | 23 | extern void audiohw_reset(void); |
24 | extern int wmcodec_init(void); | 24 | extern int audiohw_init(void); |
25 | extern void wmcodec_enable_output(bool enable); | 25 | extern void audiohw_enable_output(bool enable); |
26 | extern int wmcodec_set_master_vol(int vol_l, int vol_r); | 26 | extern int audiohw_set_master_vol(int vol_l, int vol_r); |
27 | extern int wmcodec_set_lineout_vol(int vol_l, int vol_r); | 27 | extern int audiohw_set_lineout_vol(int vol_l, int vol_r); |
28 | extern int wmcodec_set_mixer_vol(int channel1, int channel2); | 28 | extern int audiohw_set_mixer_vol(int channel1, int channel2); |
29 | extern void wmcodec_set_bass(int value); | 29 | extern void audiohw_set_bass(int value); |
30 | extern void wmcodec_set_treble(int value); | 30 | extern void audiohw_set_treble(int value); |
31 | extern int wmcodec_mute(int mute); | 31 | extern int audiohw_mute(int mute); |
32 | extern void wmcodec_close(void); | 32 | extern void audiohw_close(void); |
33 | extern void wmcodec_set_nsorder(int order); | 33 | extern void audiohw_set_nsorder(int order); |
34 | extern void wmcodec_set_sample_rate(int sampling_control); | 34 | extern void audiohw_set_sample_rate(int sampling_control); |
35 | 35 | ||
36 | extern void wmcodec_enable_recording(bool source_mic); | 36 | extern void audiohw_enable_recording(bool source_mic); |
37 | extern void wmcodec_disable_recording(void); | 37 | extern void audiohw_disable_recording(void); |
38 | extern void wmcodec_set_recvol(int left, int right, int type); | 38 | extern void audiohw_set_recvol(int left, int right, int type); |
39 | extern void wmcodec_set_monitor(int enable); | 39 | extern void audiohw_set_monitor(int enable); |
40 | 40 | ||
41 | extern void wmcodec_set_equalizer_band(int band, int freq, int bw, int gain); | 41 | extern void audiohw_set_equalizer_band(int band, int freq, int bw, int gain); |
42 | 42 | ||
43 | #define RESET 0x00 | 43 | #define RESET 0x00 |
44 | #define PWRMGMT1 0x01 | 44 | #define PWRMGMT1 0x01 |