Mercurial > SDL_sound_CoreAudio
comparison SDL_sound.c @ 445:d0393837bfac
Never actually created samplelist_mutex (doh!) ... Thanks, Glenn Maynard!
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 10 Mar 2003 22:43:58 +0000 |
parents | 5b00e43ec23c |
children | 6d328f00c20d |
comparison
equal
deleted
inserted
replaced
444:188eef49ad0d | 445:d0393837bfac |
---|---|
220 BAIL_IF_MACRO(available_decoders == NULL, ERR_OUT_OF_MEMORY, 0); | 220 BAIL_IF_MACRO(available_decoders == NULL, ERR_OUT_OF_MEMORY, 0); |
221 | 221 |
222 SDL_InitSubSystem(SDL_INIT_AUDIO); | 222 SDL_InitSubSystem(SDL_INIT_AUDIO); |
223 | 223 |
224 errorlist_mutex = SDL_CreateMutex(); | 224 errorlist_mutex = SDL_CreateMutex(); |
225 samplelist_mutex = SDL_CreateMutex(); | |
225 | 226 |
226 for (i = 0; decoders[i].funcs != NULL; i++) | 227 for (i = 0; decoders[i].funcs != NULL; i++) |
227 { | 228 { |
228 decoders[i].available = decoders[i].funcs->init(); | 229 decoders[i].available = decoders[i].funcs->init(); |
229 if (decoders[i].available) | 230 if (decoders[i].available) |