Also, what is the purpose of two SDL_UnlockMutex calls, one after the other, in 
sound_sdl_queue_event?

  if (-1 == SDL_UnlockMutex(out_mutex))
  {
    fprintf(stderr, "sound_sdl_queue_event(): SDL_UnlockMutex() returned -1\n");
  }
  SDL_UnlockMutex(out_mutex);

Alex.


> Howdy,
> 
> What's the purpose of the in_cond condition variable in soundserver_sdl.c? 
The 
> SDL_CondWait function is never called to wait on in_cond, and I can't see 
where 
> any mutex uses it. However, I don't know much about SDL...
> 
> Alex.
> 
> 
> 



Reply via email to