diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-03-04 14:44:43 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-03-04 14:50:47 -0500 |
commit | d18a5cad7f002b2f67385e57118048ea3db185a6 (patch) | |
tree | 61b8eafcf9d0197a8bc1f6c795c775f9170a4f64 /apps/mpeg.c | |
parent | 534117d1e0d01b78d0ab9040e64fbd88213cd805 (diff) | |
download | rockbox-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/mpeg.c')
-rw-r--r-- | apps/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c index b3e79aadd9..0ecf68fc53 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c | |||
@@ -876,7 +876,7 @@ static void reset_mp3_buffer(void) | |||
876 | } | 876 | } |
877 | 877 | ||
878 | /* DMA transfer end interrupt callback */ | 878 | /* DMA transfer end interrupt callback */ |
879 | static void transfer_end(unsigned char** ppbuf, size_t* psize) | 879 | static void transfer_end(const void** ppbuf, size_t* psize) |
880 | { | 880 | { |
881 | if(playing && !paused) | 881 | if(playing && !paused) |
882 | { | 882 | { |