winealsa: Clear WAVECAPS_DIRECTSOUND for capture.

This commit is contained in:
Maarten Lankhorst 2007-04-21 20:38:47 +02:00 committed by Alexandre Julliard
parent d53d7c9ea2
commit 761ea7895b
1 changed files with 6 additions and 0 deletions

View File

@ -504,6 +504,12 @@ static int ALSA_AddCaptureDevice(snd_ctl_t *ctl, snd_pcm_t *pcm, const char *pcm
wwi.incaps.wPid = MM_CREATIVE_SBP16_WAVEOUT;
wwi.incaps.vDriverVersion = 0x0100;
if (wwi.ds_caps.dwFlags & WAVECAPS_DIRECTSOUND)
{
FIXME("Add support for DSCapture\n");
wwi.ds_caps.dwFlags &= ~WAVECAPS_DIRECTSOUND;
}
rc = ALSA_ComputeCaps(ctl, pcm, &wwi.incaps.wChannels, &wwi.ds_caps.dwFlags,
&wwi.incaps.dwFormats, &wwi.dwSupport);
if (rc)