(DirectSound) Use slock_new instead of scond_new

This commit is contained in:
twinaphex 2015-04-09 06:37:06 +02:00
parent 9e10e20b69
commit 5d8e5ae624

View File

@ -371,7 +371,7 @@ static void *dsound_init(const char *device, unsigned rate, unsigned latency)
bufdesc.dwBufferBytes = ds->buffer_size;
bufdesc.lpwfxFormat = &wfx;
ds->event = scond_new();
ds->event = slock_new();
if (!ds->event)
goto error;