1.1 --- a/include/SDL_audio.h Thu Aug 24 12:49:59 2006 +0000
1.2 +++ b/include/SDL_audio.h Mon Aug 28 03:17:39 2006 +0000
1.3 @@ -132,22 +132,22 @@
1.4
1.5 /* A structure to hold a set of audio conversion filters and buffers */
1.6 struct SDL_AudioCVT;
1.7 -typedef void (SDLCALL * SDL_AudioFilter)(struct SDL_AudioCVT *cvt,
1.8 - SDL_AudioFormat format);
1.9 +typedef void (SDLCALL * SDL_AudioFilter) (struct SDL_AudioCVT * cvt,
1.10 + SDL_AudioFormat format);
1.11
1.12 typedef struct SDL_AudioCVT
1.13 {
1.14 - int needed; /* Set to 1 if conversion possible */
1.15 - SDL_AudioFormat src_format; /* Source audio format */
1.16 - SDL_AudioFormat dst_format; /* Target audio format */
1.17 - double rate_incr; /* Rate conversion increment */
1.18 - Uint8 *buf; /* Buffer to hold entire audio data */
1.19 - int len; /* Length of original audio buffer */
1.20 - int len_cvt; /* Length of converted audio buffer */
1.21 - int len_mult; /* buffer must be len*len_mult big */
1.22 - double len_ratio; /* Given len, final size is len*len_ratio */
1.23 - SDL_AudioFilter filters[10]; /* Filter list */
1.24 - int filter_index; /* Current audio conversion function */
1.25 + int needed; /* Set to 1 if conversion possible */
1.26 + SDL_AudioFormat src_format; /* Source audio format */
1.27 + SDL_AudioFormat dst_format; /* Target audio format */
1.28 + double rate_incr; /* Rate conversion increment */
1.29 + Uint8 *buf; /* Buffer to hold entire audio data */
1.30 + int len; /* Length of original audio buffer */
1.31 + int len_cvt; /* Length of converted audio buffer */
1.32 + int len_mult; /* buffer must be len*len_mult big */
1.33 + double len_ratio; /* Given len, final size is len*len_ratio */
1.34 + SDL_AudioFilter filters[10]; /* Filter list */
1.35 + int filter_index; /* Current audio conversion function */
1.36 } SDL_AudioCVT;
1.37
1.38