diff options
| author | Jordan Cristiano <jordan.cristi@gmail.com> | 2013-06-22 23:23:53 -0400 |
|---|---|---|
| committer | Jordan Cristiano <jordan.cristi@gmail.com> | 2013-06-22 23:23:53 -0400 |
| commit | fafdc4fcef0d6845d94c4dcb4ac590bac7008553 (patch) | |
| tree | 3055c951e6c7422850a0e7f3625105fae7074750 /Source/Core/AudioCommon | |
| parent | 911d73d85a6b20af90983e1959e393ed79fb87c9 (diff) | |
DSBCAPS_GLOBALFOCUS allows sound to still play when the application is in the background. Other backends do this, so why not let dsound do it too.
Diffstat (limited to 'Source/Core/AudioCommon')
| -rw-r--r-- | Source/Core/AudioCommon/Src/DSoundStream.cpp | 2 |
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; |
