changeset 102551:a2db833257d4

(alsa_configure): Remove call do deprecated _pcm_sw_params_set_xfer_align.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 14 Mar 2009 15:18:44 +0000
parents dd268d718c60
children bc5263768619
files src/sound.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/sound.c	Sat Mar 14 15:12:33 2009 +0000
+++ b/src/sound.c	Sat Mar 14 15:18:44 2009 +0000
@@ -1066,12 +1066,6 @@
   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);