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:
Daniel Stenberg 2002-05-27 07:00:03 +00:00
parent cd676e1d0f
commit c012eb6cc2

View file

@ -44,7 +44,9 @@ void playtune(char *dir, char *file)
bool good=1;
snprintf(buffer, sizeof(buffer), "%s/%s", dir, file);
#if !defined(SIMULATOR) || defined(MPEGPLAY)
mpeg_play(buffer);
#endif
if(mp3info(&mp3, buffer)) {
DEBUGF("id3 failure!");