forked from len0rd/rockbox
Now stops loading from disk when mpeg_stop is called
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@929 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
604cce76cf
commit
ec2ab7e85a
1 changed files with 5 additions and 0 deletions
|
|
@ -338,6 +338,9 @@ static void mpeg_thread(void)
|
|||
DEBUGF("MPEG_STOP\n");
|
||||
/* Stop the current stream */
|
||||
playing = false;
|
||||
filling = false;
|
||||
close(mpeg_file);
|
||||
mpeg_file = -1;
|
||||
stop_dma();
|
||||
break;
|
||||
|
||||
|
|
@ -485,6 +488,7 @@ static void setup_sci0(void)
|
|||
void mpeg_play(char* trackname)
|
||||
{
|
||||
#ifdef ARCHOS_RECORDER
|
||||
DEBUGF("mpeg_play(%s)\n", trackname);
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
|
@ -494,6 +498,7 @@ void mpeg_play(char* trackname)
|
|||
void mpeg_stop(void)
|
||||
{
|
||||
#ifdef ARCHOS_RECORDER
|
||||
DEBUGF("mpeg_stop()\n");
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue