From 0a12f4e2963ed1d80c2610c5502797dd6874e737 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sat, 3 May 2003 10:03:30 +0000 Subject: Stop radio when playing mp3 files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3641 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 7266b05bd9..ef65303879 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -1300,6 +1300,13 @@ static void mpeg_thread(void) { case MPEG_PLAY: DEBUGF("MPEG_PLAY\n"); + +#ifdef HAVE_FMRADIO + /* Silence the A/D input, it may be on because the radio + may be playing */ + mas_codec_writereg(6, 0x0000); +#endif + /* Stop the current stream */ play_pending = false; playing = false; -- cgit