winealsa.drv: fix typo in IDsCaptureDriverImpl_Open.

oldstable
Erik Inge Bolsø 2008-09-08 20:04:46 +02:00 committed by Alexandre Julliard
parent 9d45cfde33
commit 6fc8497519
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ static HRESULT WINAPI IDsCaptureDriverImpl_Open(PIDSCDRIVER iface)
return hr;
}
err = snd_pcm_open(&pcm, WOutDev[This->wDevID].pcmname, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK);
err = snd_pcm_open(&pcm, WInDev[This->wDevID].pcmname, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK);
if (err < 0) goto err;
err = snd_pcm_hw_params_any(pcm, hw_params);
if (err < 0) goto err;