forked from len0rd/rockbox
mpeg_play() is present if not simulating or if especially defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@720 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cd676e1d0f
commit
c012eb6cc2
1 changed files with 2 additions and 0 deletions
|
|
@ -44,7 +44,9 @@ void playtune(char *dir, char *file)
|
||||||
bool good=1;
|
bool good=1;
|
||||||
|
|
||||||
snprintf(buffer, sizeof(buffer), "%s/%s", dir, file);
|
snprintf(buffer, sizeof(buffer), "%s/%s", dir, file);
|
||||||
|
#if !defined(SIMULATOR) || defined(MPEGPLAY)
|
||||||
mpeg_play(buffer);
|
mpeg_play(buffer);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(mp3info(&mp3, buffer)) {
|
if(mp3info(&mp3, buffer)) {
|
||||||
DEBUGF("id3 failure!");
|
DEBUGF("id3 failure!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue