Mercurial > SDL_sound_CoreAudio
changeset 432:ddce7101673e
Call SDL_InitSubSystem instead of SDL_Init, to prevent unwanted initialization
of the SDL parachute.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 10 Dec 2002 02:15:32 +0000 |
parents | 54a68e39fa7c |
children | f1c16afd9ebe |
files | SDL_sound.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/SDL_sound.c Tue Dec 10 02:14:47 2002 +0000 +++ b/SDL_sound.c Tue Dec 10 02:15:32 2002 +0000 @@ -218,7 +218,7 @@ malloc((total) * sizeof (Sound_DecoderInfo *)); BAIL_IF_MACRO(available_decoders == NULL, ERR_OUT_OF_MEMORY, 0); - SDL_Init(SDL_INIT_AUDIO); + SDL_InitSubSystem(SDL_INIT_AUDIO); errorlist_mutex = SDL_CreateMutex();