Module: wine Branch: master Commit: c59ecdcefb2b4e16182e9c2090db11fc00640ddd URL: http://source.winehq.org/git/wine.git/?a=commit;h=c59ecdcefb2b4e16182e9c2090...
Author: Andrew Eikum aeikum@codeweavers.com Date: Tue Nov 15 08:48:30 2011 -0600
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).
---
dlls/dsound/primary.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index c170358..3b61562 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -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;