testsurround: fix order of arguments of callback
This commit is contained in:
parent
82db2b58f9
commit
1b03a2430a
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ static SDL_bool is_lfe_channel(int channel_index, int channel_count)
|
||||||
return (channel_count == 3 && channel_index == 2) || (channel_count >= 6 && channel_index == 3);
|
return (channel_count == 3 && channel_index == 2) || (channel_count >= 6 && channel_index == 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SDLCALL fill_buffer(SDL_AudioStream *stream, int len, void *unused)
|
static void SDLCALL fill_buffer(void *userdata, SDL_AudioStream *stream, int len)
|
||||||
{
|
{
|
||||||
const int samples = len / sizeof(Sint16);
|
const int samples = len / sizeof(Sint16);
|
||||||
Sint16 *buffer = NULL;
|
Sint16 *buffer = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue