alsa: snd_pcm_sw_params_set_xfer_align is deprecated

Lets not use deprecated functions. It's apparently
possible to not care about the sw_params stuff at all!
This commit is contained in:
Eric Wong 2008-09-08 20:44:22 +02:00 committed by Max Kellermann
parent d0ab3a31ac
commit 37489b1f97

View File

@ -281,11 +281,6 @@ configure_hw:
if (err < 0)
goto error;
cmd = "snd_pcm_sw_params_set_xfer_align";
err = snd_pcm_sw_params_set_xfer_align(ad->pcmHandle, swparams, 1);
if (err < 0)
goto error;
cmd = "snd_pcm_sw_params";
err = snd_pcm_sw_params(ad->pcmHandle, swparams);
if (err < 0)