Commit c59ecdce authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

dsound: Don't specify period size for the IAudioClient.

We don't actually care what period size gets used (in fact, docs say the parameter is entirely ignored in Shared mode).
parent e4ac3470
......@@ -119,7 +119,7 @@ HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave)
hres = IAudioClient_Initialize(device->client,
AUDCLNT_SHAREMODE_SHARED, AUDCLNT_STREAMFLAGS_NOPERSIST,
prebuf_rt, 50000, device->pwfx, NULL);
prebuf_rt, 0, device->pwfx, NULL);
if(FAILED(hres)){
IAudioClient_Release(device->client);
device->client = NULL;
......
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