forked from len0rd/rockbox
Patch #961687 by Eric Lassauge, MP3 playback using libmad in the X11 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4849 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c685b35611
commit
4242a34ad6
5 changed files with 37 additions and 16 deletions
|
|
@ -38,6 +38,8 @@
|
|||
#include "usb.h"
|
||||
#include "file.h"
|
||||
#include "hwcompat.h"
|
||||
#else
|
||||
#include "mpegplay.h"
|
||||
#endif /* #ifndef SIMULATOR */
|
||||
|
||||
extern void bitswap(unsigned char *data, int length);
|
||||
|
|
@ -2447,6 +2449,9 @@ void mpeg_play(int offset)
|
|||
break;
|
||||
continue;
|
||||
}
|
||||
#ifdef HAVE_MPEG_PLAY
|
||||
real_mpeg_play(trackname);
|
||||
#endif
|
||||
playlist_next(steps);
|
||||
taginfo.offset = offset;
|
||||
set_elapsed(&taginfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue