Commit 67740a37 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Patched to compile.

parent e42ca42e
...@@ -505,7 +505,7 @@ DSOUND_OpenDevice(_THIS, const char *devname, int iscapture) ...@@ -505,7 +505,7 @@ DSOUND_OpenDevice(_THIS, const char *devname, int iscapture)
} }
/* Create the audio buffer to which we write */ /* 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) { if (this->hidden->num_buffers < 0) {
DSOUND_CloseDevice(this); DSOUND_CloseDevice(this);
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment