(alsa_configure): Remove call do deprecated
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 14 Mar 2009 15:19:04 +0000 (15:19 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 14 Mar 2009 15:19:04 +0000 (15:19 +0000)
_pcm_sw_params_set_xfer_align.

src/ChangeLog
src/sound.c

index c980983..e36287c 100644 (file)
@@ -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
index 2c723a4..58a8a9c 100644 (file)
@@ -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);