comparison SDL_sound_internal.h @ 441:5b00e43ec23c

Patches to make SDL_sound more Visual C happy.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 31 Jan 2003 01:53:12 +0000
parents c42ac9ee2ce4
children 3e705c9180e5 50bb9a6cebfe
comparison
equal deleted inserted replaced
440:6d94441c854e 441:5b00e43ec23c
234 void (*filters[20])(struct Sound_AudioCVT *cvt, Uint16 *format); 234 void (*filters[20])(struct Sound_AudioCVT *cvt, Uint16 *format);
235 int filter_index; /* Current audio conversion function */ 235 int filter_index; /* Current audio conversion function */
236 } Sound_AudioCVT; 236 } Sound_AudioCVT;
237 #endif 237 #endif
238 238
239 extern SNDDECLSPEC int Sound_BuildAudioCVT(Sound_AudioCVT *cvt,
240 Uint16 src_format, Uint8 src_channels, Uint32 src_rate,
241 Uint16 dst_format, Uint8 dst_channels, Uint32 dst_rate,
242 Uint32 dst_size);
243
244 extern SNDDECLSPEC int Sound_ConvertAudio(Sound_AudioCVT *cvt);
245
246
247
239 typedef struct __SOUND_SAMPLEINTERNAL__ 248 typedef struct __SOUND_SAMPLEINTERNAL__
240 { 249 {
241 Sound_Sample *next; 250 Sound_Sample *next;
242 Sound_Sample *prev; 251 Sound_Sample *prev;
243 SDL_RWops *rw; 252 SDL_RWops *rw;