diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-12-18 02:18:56 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-12-18 02:18:56 +0000 |
commit | ca7a264a8231dc872e8d5a836c80df67aaedd52d (patch) | |
tree | 402037dfcdef2952c31e52b6e7a0ab63bed83f82 /firmware/drivers/wm8758.c | |
parent | decef18a943a4b36cdb4fe8c8adf15b8cf6cb757 (diff) | |
download | rockbox-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.c | 6 |
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) | |||
223 | 223 | ||
224 | /* The iPod can handle multiple frequencies, but fix at 44.1KHz | 224 | /* The iPod can handle multiple frequencies, but fix at 44.1KHz |
225 | for now */ | 225 | for now */ |
226 | wmcodec_set_sample_rate(WM8758_44100HZ); | 226 | audiohw_set_sample_rate(WM8758_44100HZ); |
227 | 227 | ||
228 | wmcodec_write(INCTRL,0x44); /* Connect L2 and R2 inputs */ | 228 | wmcodec_write(INCTRL,0x44); /* Connect L2 and R2 inputs */ |
229 | 229 | ||
@@ -248,11 +248,11 @@ void audiohw_enable_recording(bool source_mic) | |||
248 | wmcodec_write(LOUTMIX,0x17); /* Enable output mixer - BYPL2LMIX @ 0db*/ | 248 | wmcodec_write(LOUTMIX,0x17); /* Enable output mixer - BYPL2LMIX @ 0db*/ |
249 | wmcodec_write(ROUTMIX,0x17); /* Enable output mixer - BYPR2RMIX @ 0db*/ | 249 | wmcodec_write(ROUTMIX,0x17); /* Enable output mixer - BYPR2RMIX @ 0db*/ |
250 | 250 | ||
251 | wmcodec_mute(0); | 251 | audiohw_mute(0); |
252 | } | 252 | } |
253 | 253 | ||
254 | void audiohw_disable_recording(void) { | 254 | void audiohw_disable_recording(void) { |
255 | wmcodec_mute(1); | 255 | audiohw_mute(1); |
256 | 256 | ||
257 | wmcodec_write(PWRMGMT3, 0x0); | 257 | wmcodec_write(PWRMGMT3, 0x0); |
258 | 258 | ||