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:
parent
d0ab3a31ac
commit
37489b1f97
@ -281,11 +281,6 @@ configure_hw:
|
|||||||
if (err < 0)
|
if (err < 0)
|
||||||
goto error;
|
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";
|
cmd = "snd_pcm_sw_params";
|
||||||
err = snd_pcm_sw_params(ad->pcmHandle, swparams);
|
err = snd_pcm_sw_params(ad->pcmHandle, swparams);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user