forked from len0rd/rockbox
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:
parent
331c7d9255
commit
0a12f4e296
1 changed files with 7 additions and 0 deletions
|
|
@ -1300,6 +1300,13 @@ static void mpeg_thread(void)
|
||||||
{
|
{
|
||||||
case MPEG_PLAY:
|
case MPEG_PLAY:
|
||||||
DEBUGF("MPEG_PLAY\n");
|
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 */
|
/* Stop the current stream */
|
||||||
play_pending = false;
|
play_pending = false;
|
||||||
playing = false;
|
playing = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue