diff options
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r-- | Alc/dsound.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index 959f55d2..a704c454 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -342,9 +342,6 @@ static ALCboolean DSoundResetPlayback(ALCdevice *device) if(SUCCEEDED(hr)) { - DWORD num_frags = GetConfigValueInt("dsound", "periods", device->NumUpdates); - if(num_frags < 2) num_frags = 2; - memset(&DSBDescription,0,sizeof(DSBUFFERDESC)); DSBDescription.dwSize=sizeof(DSBUFFERDESC); DSBDescription.dwFlags=DSBCAPS_GLOBALFOCUS|DSBCAPS_GETCURRENTPOSITION2; |