summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-03-04 14:44:43 -0500
committerMichael Sevakis <jethead71@rockbox.org>2012-03-04 14:50:47 -0500
commitd18a5cad7f002b2f67385e57118048ea3db185a6 (patch)
tree61b8eafcf9d0197a8bc1f6c795c775f9170a4f64 /apps/misc.c
parent534117d1e0d01b78d0ab9040e64fbd88213cd805 (diff)
downloadrockbox-d18a5cad7f002b2f67385e57118048ea3db185a6.tar.gz
rockbox-d18a5cad7f002b2f67385e57118048ea3db185a6.zip
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
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c3
1 files changed, 2 insertions, 1 deletions
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 @@
42#include "usb_screen.h" 42#include "usb_screen.h"
43#include "talk.h" 43#include "talk.h"
44#include "audio.h" 44#include "audio.h"
45#include "mp3_playback.h"
46#include "settings.h" 45#include "settings.h"
47#include "storage.h" 46#include "storage.h"
48#include "ata_idle_notify.h" 47#include "ata_idle_notify.h"
@@ -88,6 +87,8 @@
88#include "playback.h" 87#include "playback.h"
89#if CONFIG_CODEC == SWCODEC 88#if CONFIG_CODEC == SWCODEC
90#include "voice_thread.h" 89#include "voice_thread.h"
90#else
91#include "mp3_playback.h"
91#endif 92#endif
92 93
93#ifdef BOOTFILE 94#ifdef BOOTFILE