From 761ea7895bda8c3025591955240bada23e4dbe42 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Sat, 21 Apr 2007 20:38:47 +0200 Subject: [PATCH] winealsa: Clear WAVECAPS_DIRECTSOUND for capture. --- dlls/winealsa.drv/waveinit.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/winealsa.drv/waveinit.c b/dlls/winealsa.drv/waveinit.c index a46efcbc34..6614c00e16 100644 --- a/dlls/winealsa.drv/waveinit.c +++ b/dlls/winealsa.drv/waveinit.c @@ -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) -- 2.32.0.93.g670b81a890