Mercurial > SDL_sound_CoreAudio
diff SDL_sound_internal.h @ 340:5a72981b8cba
Added optional, experimental audio conversion routines by Frank Ranostaj.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 20 May 2002 16:21:58 +0000 |
parents | 31cc49d7d0ce |
children | cbb15ecf423a |
line wrap: on
line diff
--- a/SDL_sound_internal.h Mon May 20 16:21:20 2002 +0000 +++ b/SDL_sound_internal.h Mon May 20 16:21:58 2002 +0000 @@ -197,7 +197,9 @@ /* A structure to hold a set of audio conversion filters and buffers */ - +#if (defined SOUND_USE_ALTCVT) +#include "alt_audio_convert.h" +#else typedef struct Sound_AudioCVT { int needed; /* Set to 1 if conversion possible */ @@ -212,7 +214,7 @@ void (*filters[20])(struct Sound_AudioCVT *cvt, Uint16 *format); int filter_index; /* Current audio conversion function */ } Sound_AudioCVT; - +#endif typedef struct __SOUND_SAMPLEINTERNAL__ {