summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/DSoundStream.cpp
diff options
context:
space:
mode:
authorJordan Cristiano <jordan.cristi@gmail.com>2013-06-22 23:49:16 -0400
committerJordan Cristiano <jordan.cristi@gmail.com>2013-06-22 23:49:16 -0400
commitfea1e3b698e75e29df7ccd2dbdd5717bf225147e (patch)
treed087c958451a279c121adb4867f0b7595c1424a8 /Source/Core/AudioCommon/Src/DSoundStream.cpp
parent0c9c3c97372836e35c75a67758f8276879ea0ac4 (diff)
parent8cf515359c2474c9b304b99cf07bd88aa2b0f766 (diff)
Merge branch 'audio_misc'
- audio no longer stops playing when dolphin is in the background with the dsound backend - wav audio dumps now have the correct sizes instead of an arbitrarily large size
Diffstat (limited to 'Source/Core/AudioCommon/Src/DSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/DSoundStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/DSoundStream.cpp b/Source/Core/AudioCommon/Src/DSoundStream.cpp
index a81c3d2f26..41a1dd9951 100644
--- a/Source/Core/AudioCommon/Src/DSoundStream.cpp
+++ b/Source/Core/AudioCommon/Src/DSoundStream.cpp
@@ -28,7 +28,7 @@ bool DSound::CreateBuffer()
// Fill out DSound buffer description.
dsbdesc.dwSize = sizeof(DSBUFFERDESC);
- dsbdesc.dwFlags = DSBCAPS_GETCURRENTPOSITION2 | DSBCAPS_STICKYFOCUS | DSBCAPS_CTRLVOLUME;
+ dsbdesc.dwFlags = DSBCAPS_GETCURRENTPOSITION2 | DSBCAPS_CTRLVOLUME | DSBCAPS_GLOBALFOCUS;
dsbdesc.dwBufferBytes = bufferSize = BUFSIZE;
dsbdesc.lpwfxFormat = (WAVEFORMATEX *)&pcmwf;
dsbdesc.guid3DAlgorithm = DS3DALG_DEFAULT;