Skip to content
Permalink
Browse files

nacl: Patched to compile.

  • Loading branch information
icculus committed Aug 28, 2016
1 parent 714aa21 commit c9bfcbde6e87a379fff7d5928f69f8c54f8650a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/audio/nacl/SDL_naclaudio.c
@@ -50,7 +50,7 @@ static void nacl_audio_callback(void* samples, uint32_t buffer_size, PP_TimeDelt

SDL_LockMutex(private->mutex); /* !!! FIXME: is this mutex necessary? */

if (SDL_AtomicGet(&this->enabled) && !SDL_AtomicGet(&this->paused)) {
if (SDL_AtomicGet(&_this->enabled) && !SDL_AtomicGet(&_this->paused)) {
if (_this->convert.needed) {
SDL_LockMutex(_this->mixer_lock);
(*_this->spec.callback) (_this->spec.userdata,

0 comments on commit c9bfcbd

Please sign in to comment.