Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Patched to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 4, 2011
1 parent a932f30 commit 0414602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/directsound/SDL_directsound.c
Expand Up @@ -505,7 +505,7 @@ DSOUND_OpenDevice(_THIS, const char *devname, int iscapture)
}

/* Create the audio buffer to which we write */
this->hidden->num_buffers = CreateSecondary(this, mainwin, &waveformat);
this->hidden->num_buffers = CreateSecondary(this, NULL, &waveformat);
if (this->hidden->num_buffers < 0) {
DSOUND_CloseDevice(this);
return 0;
Expand Down

0 comments on commit 0414602

Please sign in to comment.