dsound: Add some more DSCAPS flags.

This commit is contained in:
Andrew Eikum 2012-02-14 09:40:38 -06:00 committed by Alexandre Julliard
parent 16dc83578a
commit 9d06d41e37

View File

@ -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;