audio callback mix_channels() should use SDLCALL calling conventions. SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 02:30:28 +0300
branchSDL-1.2
changeset 8844761ad17bdc6
parent 883 2ff5d3653db2
child 885 dd251a0ec666
audio callback mix_channels() should use SDLCALL calling conventions.

(from 2.0 branch commits fca02fccc6ab and fa081ec2940e)
mixer.c
     1.1 --- a/mixer.c	Sun Oct 07 02:26:55 2018 +0300
     1.2 +++ b/mixer.c	Sun Oct 07 02:30:28 2018 +0300
     1.3 @@ -284,7 +284,7 @@
     1.4  
     1.5  
     1.6  /* Mixing function */
     1.7 -static void mix_channels(void *udata, Uint8 *stream, int len)
     1.8 +static void SDLCALL mix_channels(void *udata, Uint8 *stream, int len)
     1.9  {
    1.10  	Uint8 *mix_input;
    1.11  	int i, mixable, volume = SDL_MIX_MAXVOLUME;