Commit 15adb260 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winealsa.drv: Remove wrong calls.

snd_pcm_prepare is called below, and snd_pcm_sw_params is called before sw_params is initialized.
parent 368edb73
......@@ -536,8 +536,6 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx)
}
err = snd_pcm_hw_params(pcm, hw_params);
err = snd_pcm_sw_params(pcm, This->sw_params);
snd_pcm_prepare(pcm);
/* ALSA needs at least 3 buffers to work successfully */
This->mmap_commitahead = 3 * psize;
......
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