diff options
Diffstat (limited to 'firmware/export/wm8731l.h')
-rw-r--r-- | firmware/export/wm8731l.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/firmware/export/wm8731l.h b/firmware/export/wm8731l.h index 7e123afd64..5783be17cc 100644 --- a/firmware/export/wm8731l.h +++ b/firmware/export/wm8731l.h | |||
@@ -20,22 +20,22 @@ | |||
20 | #ifndef _WM8731L_H | 20 | #ifndef _WM8731L_H |
21 | #define _WM8731L_H | 21 | #define _WM8731L_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_mixer_vol(int channel1, int channel2); | 27 | extern int audiohw_set_mixer_vol(int channel1, int channel2); |
28 | extern void wmcodec_set_bass(int value); | 28 | extern void audiohw_set_bass(int value); |
29 | extern void wmcodec_set_treble(int value); | 29 | extern void audiohw_set_treble(int value); |
30 | extern int wmcodec_mute(int mute); | 30 | extern int audiohw_mute(int mute); |
31 | extern void wmcodec_close(void); | 31 | extern void audiohw_close(void); |
32 | extern void wmcodec_set_nsorder(int order); | 32 | extern void audiohw_set_nsorder(int order); |
33 | extern void wmcodec_set_sample_rate(int sampling_control); | 33 | extern void audiohw_set_sample_rate(int sampling_control); |
34 | 34 | ||
35 | extern void wmcodec_enable_recording(bool source_mic); | 35 | extern void audiohw_enable_recording(bool source_mic); |
36 | extern void wmcodec_disable_recording(void); | 36 | extern void audiohw_disable_recording(void); |
37 | extern void wmcodec_set_recvol(int left, int right, int type); | 37 | extern void audiohw_set_recvol(int left, int right, int type); |
38 | extern void wmcodec_set_monitor(int enable); | 38 | extern void audiohw_set_monitor(int enable); |
39 | 39 | ||
40 | /* Register addresses */ | 40 | /* Register addresses */ |
41 | #define LINVOL 0x00 | 41 | #define LINVOL 0x00 |