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).
This commit is contained in:
parent
e4ac347075
commit
c59ecdcefb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue