Commit 761ea789 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winealsa: Clear WAVECAPS_DIRECTSOUND for capture.

parent d53d7c9e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment