aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-16 23:29:32 -0700
committerChris Robinson <[email protected]>2009-09-16 23:29:32 -0700
commitfb97ca6022308e5898dbfa43958f61bcaed82f30 (patch)
treef0a858dbaaa4f6d96a2bc8283a6b62de3f01f16d /Alc/dsound.c
parentcbcaa54173bf6b14435adf3daf9feb2fa2e37d04 (diff)
Remove left-over backend-specific period options
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c3
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;