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).
oldstable
Andrew Eikum 2011-11-15 08:48:30 -06:00 committed by Alexandre Julliard
parent e4ac347075
commit c59ecdcefb
1 changed files with 1 additions and 1 deletions

View File

@ -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;