summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/wm8758.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-12-18 02:18:56 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-12-18 02:18:56 +0000
commitca7a264a8231dc872e8d5a836c80df67aaedd52d (patch)
tree402037dfcdef2952c31e52b6e7a0ab63bed83f82 /firmware/drivers/wm8758.c
parentdecef18a943a4b36cdb4fe8c8adf15b8cf6cb757 (diff)
downloadrockbox-ca7a264a8231dc872e8d5a836c80df67aaedd52d.tar.gz
rockbox-ca7a264a8231dc872e8d5a836c80df67aaedd52d.zip
Fix compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11796 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/wm8758.c')
-rw-r--r--firmware/drivers/wm8758.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c
index 9732d4f776..b52bac2f21 100644
--- a/firmware/drivers/wm8758.c
+++ b/firmware/drivers/wm8758.c
@@ -223,7 +223,7 @@ void audiohw_enable_recording(bool source_mic)
/* The iPod can handle multiple frequencies, but fix at 44.1KHz
for now */
- wmcodec_set_sample_rate(WM8758_44100HZ);
+ audiohw_set_sample_rate(WM8758_44100HZ);
wmcodec_write(INCTRL,0x44); /* Connect L2 and R2 inputs */
@@ -248,11 +248,11 @@ void audiohw_enable_recording(bool source_mic)
wmcodec_write(LOUTMIX,0x17); /* Enable output mixer - BYPL2LMIX @ 0db*/
wmcodec_write(ROUTMIX,0x17); /* Enable output mixer - BYPR2RMIX @ 0db*/
- wmcodec_mute(0);
+ audiohw_mute(0);
}
void audiohw_disable_recording(void) {
- wmcodec_mute(1);
+ audiohw_mute(1);
wmcodec_write(PWRMGMT3, 0x0);