mirror of
https://github.com/yawut/SDL.git
synced 2026-09-09 01:26:24 -05:00
*** empty log message ***
This commit is contained in:
@@ -324,7 +324,7 @@ static int DSP_OpenAudio(_THIS, SDL_AudioSpec *spec)
|
||||
mixlen = spec->size;
|
||||
mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen);
|
||||
if ( mixbuf == NULL ) {
|
||||
DSP_CloseAudio(this);
|
||||
DSP_CloseAudio(this);
|
||||
return(-1);
|
||||
}
|
||||
memset(mixbuf, spec->silence, spec->size);
|
||||
|
||||
Reference in New Issue
Block a user