mirror of
https://github.com/encounter/SDL.git
synced 2025-12-15 16:16:16 +00:00
audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections.
This commit is contained in:
@@ -65,7 +65,7 @@ static void nacl_audio_callback(void* samples, uint32_t buffer_size, PP_TimeDelt
|
||||
SDL_UnlockMutex(_this->mixer_lock);
|
||||
}
|
||||
} else {
|
||||
SDL_memset(samples, 0, buffer_size);
|
||||
SDL_memset(samples, _this->spec.silence, buffer_size);
|
||||
}
|
||||
|
||||
SDL_UnlockMutex(private->mutex);
|
||||
|
||||
Reference in New Issue
Block a user