Commit 305018ec authored by Jan Djärv's avatar Jan Djärv

(alsa_configure): Remove call do deprecated

_pcm_sw_params_set_xfer_align.
parent 4a02423f
2009-03-14 Jan Djärv <jan.h.d@swipnet.se>
* sound.c (alsa_configure): Remove call to deprecated
snd_pcm_sw_params_set_xfer_align.
2009-03-14 Stephen Berman <stephen.berman@gmx.net>
* gtkutil.c (xg_tool_bar_callback): Set focus back to the frame
......
......@@ -1066,12 +1066,6 @@ alsa_configure (sd)
if (err < 0)
alsa_sound_perror ("Unable to set avail min for playback", err);
/* Align all transfers to 1 period */
err = snd_pcm_sw_params_set_xfer_align (p->handle, p->swparams,
p->period_size);
if (err < 0)
alsa_sound_perror ("Unable to set transfer align for playback", err);
err = snd_pcm_sw_params (p->handle, p->swparams);
if (err < 0)
alsa_sound_perror ("Unable to set sw params for playback\n", err);
......
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