Stop radio when playing mp3 files

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3641 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-05-03 10:03:30 +00:00
parent 331c7d9255
commit 0a12f4e296

View file

@ -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;