audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections.
This commit is contained in:
1 parent
979de761c9
commit
761a79788c
21 files changed
+34
-39
No files matched your search
@@ -212,7 +212,7 @@ SUNAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
|
||||
if (this->hidden == NULL) {
|
||||
return SDL_OutOfMemory();
|
||||
}
|
||||
SDL_memset(this->hidden, 0, (sizeof *this->hidden));
|
||||
SDL_zerop(this->hidden);
|
||||
|
||||
/* Open the audio device */
|
||||
this->hidden->audio_fd = open(devname, flags, 0);
|
||||
|
||||
Reference in new issue
Block a user