From ef73c2ed360e57a54ea035442453dbc27b174147 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 25 Apr 2005 08:59:19 +0000 Subject: Even more correct conditions for mpeg_get_last_header() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6343 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index c1c561c..ad9c6a9 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -226,8 +226,10 @@ static const struct plugin_api rockbox_api = { audio_current_track, audio_flush_and_reload_tracks, audio_get_file_pos, -#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) +#if !defined(SIMULATOR) && (CONFIG_HWCODEC != MASNONE) mpeg_get_last_header, +#endif +#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) sound_set_pitch, #endif -- cgit v1.1