forked from len0rd/rockbox
Fix size_t handling in plugin_get_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6027b91603
commit
8d4ff638b9
14 changed files with 42 additions and 36 deletions
|
@ -60,7 +60,7 @@ struct peakstruct
|
|||
|
||||
/* global vars */
|
||||
static char *audiobuf;
|
||||
static ssize_t audiobuflen;
|
||||
static size_t audiobuflen;
|
||||
static uint32_t mempeakcount = 0;
|
||||
static uint32_t filepeakcount = 0;
|
||||
static uint32_t fppmp = 0; /* file peaks per mem peaks */
|
||||
|
@ -362,7 +362,7 @@ enum plugin_status plugin_start(const void *parameter)
|
|||
if (!parameter)
|
||||
return PLUGIN_ERROR;
|
||||
|
||||
audiobuf = rb->plugin_get_audio_buffer((size_t *)&audiobuflen);
|
||||
audiobuf = rb->plugin_get_audio_buffer(&audiobuflen);
|
||||
|
||||
if (!audiobuf)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue