Andrew Eikum : dsound: Add some more DSCAPS flags.
Alexandre Julliard
julliard at winehq.org
Tue Feb 14 13:23:33 CST 2012
Module: wine
Branch: master
Commit: 9d06d41e37e124a95f095ecb4a61a44cb545fc60
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d06d41e37e124a95f095ecb4a61a44cb545fc60
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Tue Feb 14 09:40:38 2012 -0600
dsound: Add some more DSCAPS flags.
---
dlls/dsound/dsound.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c
index 305bfeb0..444b933 100644
--- a/dlls/dsound/dsound.c
+++ b/dlls/dsound/dsound.c
@@ -1480,6 +1480,11 @@ HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcG
DSOUND_check_supported(device->client, 96000, 16, 2))
device->drvcaps.dwFlags |= DSCAPS_PRIMARY16BIT | DSCAPS_PRIMARYSTEREO;
+ /* the dsound mixer supports all of the following */
+ device->drvcaps.dwFlags |= DSCAPS_SECONDARY8BIT | DSCAPS_SECONDARY16BIT;
+ device->drvcaps.dwFlags |= DSCAPS_SECONDARYMONO | DSCAPS_SECONDARYSTEREO;
+ device->drvcaps.dwFlags |= DSCAPS_CONTINUOUSRATE;
+
device->drvcaps.dwPrimaryBuffers = 1;
device->drvcaps.dwMinSecondarySampleRate = DSBFREQUENCY_MIN;
device->drvcaps.dwMaxSecondarySampleRate = DSBFREQUENCY_MAX;
More information about the wine-cvs
mailing list