mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
Patched to compile.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user