include/SDL_audio.h
changeset 930 02759105b989
parent 911 04a403e4ccf5
child 1312 c9b51268668f
     1.1 --- a/include/SDL_audio.h	Wed Aug 18 21:41:39 2004 +0000
     1.2 +++ b/include/SDL_audio.h	Fri Aug 20 18:57:01 2004 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4  	   Once the callback returns, the buffer will no longer be valid.
     1.5  	   Stereo samples are stored in a LRLRLR ordering.
     1.6  	*/
     1.7 -	void (*callback)(void *userdata, Uint8 *stream, int len);
     1.8 +	void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len);
     1.9  	void  *userdata;
    1.10  } SDL_AudioSpec;
    1.11  
    1.12 @@ -94,7 +94,7 @@
    1.13  	int    len_cvt;			/* Length of converted audio buffer */
    1.14  	int    len_mult;		/* buffer must be len*len_mult big */
    1.15  	double len_ratio; 	/* Given len, final size is len*len_ratio */
    1.16 -	void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
    1.17 +	void (SDLCALL *filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
    1.18  	int filter_index;		/* Current audio conversion function */
    1.19  } SDL_AudioCVT;
    1.20