The audio callback should use SDLCALL calling conventions.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 13 Oct 2017 15:11:13 -0400
changeset 765fca02fccc6ab
parent 764 4bb26a86096e
child 766 1e215d1f9492
The audio callback should use SDLCALL calling conventions.
mixer.c
     1.1 --- a/mixer.c	Thu Oct 12 23:19:21 2017 -0700
     1.2 +++ b/mixer.c	Fri Oct 13 15:11:13 2017 -0400
     1.3 @@ -308,7 +308,8 @@
     1.4  
     1.5  
     1.6  /* Mixing function */
     1.7 -static void mix_channels(void *udata, Uint8 *stream, int len)
     1.8 +static SDLCALL
     1.9 +void mix_channels(void *udata, Uint8 *stream, int len)
    1.10  {
    1.11      Uint8 *mix_input;
    1.12      int i, mixable, volume = SDL_MIX_MAXVOLUME;