aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/dsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/dsound.c')
-rw-r--r--Alc/backends/dsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/dsound.c b/Alc/backends/dsound.c
index ba144ae3..8e5f6f03 100644
--- a/Alc/backends/dsound.c
+++ b/Alc/backends/dsound.c
@@ -547,7 +547,7 @@ retry_open:
}
else
{
- if(SUCCEEDED(hr))
+ if(SUCCEEDED(hr) && !data->DSpbuffer)
{
memset(&DSBDescription,0,sizeof(DSBUFFERDESC));
DSBDescription.dwSize=sizeof(DSBUFFERDESC);