From d18a5cad7f002b2f67385e57118048ea3db185a6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 4 Mar 2012 14:44:43 -0500 Subject: Tweak paramters of mp3_play_data and callback. Use generic void * and size_t and make mp3_play_data and its callback agree on types. Use mp3_play_callback_t instead of prototyping right in the function call (so it's not so messy to look at). Change doesn't appear to require plugin API version increment. Change-Id: Idcab2740ee316a2beb6e0a87b8f4934d9d6b3dd8 --- apps/misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/misc.c') diff --git a/apps/misc.c b/apps/misc.c index ca99a1d9ac..3cb314fc51 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -42,7 +42,6 @@ #include "usb_screen.h" #include "talk.h" #include "audio.h" -#include "mp3_playback.h" #include "settings.h" #include "storage.h" #include "ata_idle_notify.h" @@ -88,6 +87,8 @@ #include "playback.h" #if CONFIG_CODEC == SWCODEC #include "voice_thread.h" +#else +#include "mp3_playback.h" #endif #ifdef BOOTFILE -- cgit v1.2.3