diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/sound.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c980983d540..e36287cb7f8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/src/sound.c b/src/sound.c index 2c723a4f99a..58a8a9c4653 100644 --- a/src/sound.c +++ b/src/sound.c @@ -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); |