Skip to content

Commit

Permalink
The audio callback should use SDLCALL calling conventions.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 13, 2017
1 parent 3aceecb commit 14c823b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mixer.c
Expand Up @@ -308,7 +308,8 @@ static void *Mix_DoEffects(int chan, void *snd, int len)


/* Mixing function */
static void mix_channels(void *udata, Uint8 *stream, int len)
static SDLCALL
void mix_channels(void *udata, Uint8 *stream, int len)
{
Uint8 *mix_input;
int i, mixable, volume = SDL_MIX_MAXVOLUME;
Expand Down

0 comments on commit 14c823b

Please sign in to comment.