summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/audio-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/audio-pp.c')
-rw-r--r--firmware/target/arm/audio-pp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/audio-pp.c b/firmware/target/arm/audio-pp.c
index 1a4952fcc3..8f22bab765 100644
--- a/firmware/target/arm/audio-pp.c
+++ b/firmware/target/arm/audio-pp.c
@@ -104,11 +104,17 @@ void audio_input_mux(int source, unsigned flags)
if (!recording)
audiohw_set_recvol(0x17, 0x17, AUDIO_GAIN_LINEIN);
#endif
+
if (source == last_source && recording == last_recording)
break;
last_recording = recording;
+#if defined(IPOD_REMOTE_TUNER)
+ /* Ipod FM tuner is in the remote connected to line-in */
+ audiohw_enable_recording(false); /* source line */
+ audiohw_set_monitor(true); /* enable bypass mode */
+#else
if (recording)
{
audiohw_set_monitor(false); /* disable bypass mode */
@@ -119,6 +125,7 @@ void audio_input_mux(int source, unsigned flags)
audiohw_disable_recording();
audiohw_set_monitor(true); /* enable bypass mode */
}
+#endif
break;
#endif
} /* end switch */