summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-06-06 19:23:48 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-06-06 19:23:48 +0000
commit21a4a87ca2553834b3f7b0c8f95f1b0889d8cb2c (patch)
treeb3c7693a1c1b2e24d5aeee3e3316bbcc404f7dbc /firmware/drivers
parentaf4cd0a84cc8ead0e3b9c32684c55235c792fb12 (diff)
downloadrockbox-21a4a87ca2553834b3f7b0c8f95f1b0889d8cb2c.tar.gz
rockbox-21a4a87ca2553834b3f7b0c8f95f1b0889d8cb2c.zip
Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/as3514.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index 982bbe16d3..12a72fe0dd 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -402,7 +402,6 @@ void audiohw_set_monitor(int enable)
402 402
403 if (enable) { 403 if (enable) {
404 source = SOURCE_LINE_IN1_ANALOG; 404 source = SOURCE_LINE_IN1_ANALOG;
405 audiohw_set_master_vol(as3514.vol_l, as3514.vol_r);
406 405
407 /* LI1R_Mute_off */ 406 /* LI1R_Mute_off */
408 line_in1_r |= (1 << 5); 407 line_in1_r |= (1 << 5);
@@ -415,4 +414,7 @@ void audiohw_set_monitor(int enable)
415 as3514_write(AUDIOSET1, audioset1); 414 as3514_write(AUDIOSET1, audioset1);
416 as3514_write(LINE_IN1_R, line_in1_r); 415 as3514_write(LINE_IN1_R, line_in1_r);
417 as3514_write(LINE_IN1_L, line_in1_l); 416 as3514_write(LINE_IN1_L, line_in1_l);
417
418 /* Sync mixer volume */
419 audiohw_set_master_vol(as3514.vol_l, as3514.vol_r);
418} 420}