summaryrefslogtreecommitdiff
path: root/firmware/export/wm8731l.h
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-12-06 10:24:59 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-12-06 10:24:59 +0000
commit77d039bab8591e991001bf8680f9915854483809 (patch)
treecf45a738b7c68e2fac18513965027901a4240787 /firmware/export/wm8731l.h
parent46a608bf07ec9d40bdd151e3283646682bb9e9bd (diff)
downloadrockbox-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.h30
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
23extern void wmcodec_reset(void); 23extern void audiohw_reset(void);
24extern int wmcodec_init(void); 24extern int audiohw_init(void);
25extern void wmcodec_enable_output(bool enable); 25extern void audiohw_enable_output(bool enable);
26extern int wmcodec_set_master_vol(int vol_l, int vol_r); 26extern int audiohw_set_master_vol(int vol_l, int vol_r);
27extern int wmcodec_set_mixer_vol(int channel1, int channel2); 27extern int audiohw_set_mixer_vol(int channel1, int channel2);
28extern void wmcodec_set_bass(int value); 28extern void audiohw_set_bass(int value);
29extern void wmcodec_set_treble(int value); 29extern void audiohw_set_treble(int value);
30extern int wmcodec_mute(int mute); 30extern int audiohw_mute(int mute);
31extern void wmcodec_close(void); 31extern void audiohw_close(void);
32extern void wmcodec_set_nsorder(int order); 32extern void audiohw_set_nsorder(int order);
33extern void wmcodec_set_sample_rate(int sampling_control); 33extern void audiohw_set_sample_rate(int sampling_control);
34 34
35extern void wmcodec_enable_recording(bool source_mic); 35extern void audiohw_enable_recording(bool source_mic);
36extern void wmcodec_disable_recording(void); 36extern void audiohw_disable_recording(void);
37extern void wmcodec_set_recvol(int left, int right, int type); 37extern void audiohw_set_recvol(int left, int right, int type);
38extern void wmcodec_set_monitor(int enable); 38extern void audiohw_set_monitor(int enable);
39 39
40/* Register addresses */ 40/* Register addresses */
41#define LINVOL 0x00 41#define LINVOL 0x00