diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-06 10:24:59 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-06 10:24:59 +0000 |
commit | 77d039bab8591e991001bf8680f9915854483809 (patch) | |
tree | cf45a738b7c68e2fac18513965027901a4240787 /firmware/export/wm8731l.h | |
parent | 46a608bf07ec9d40bdd151e3283646682bb9e9bd (diff) | |
download | rockbox-77d039bab8591e991001bf8680f9915854483809.tar.gz rockbox-77d039bab8591e991001bf8680f9915854483809.zip |
first step in audio driver unification: renaming the functions to audio_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
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 |