diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2009-03-14 15:19:04 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2009-03-14 15:19:04 +0000 |
commit | 305018ecb23936a59d8fe0440952f5251d382a7c (patch) | |
tree | 4e78ab82c840e137a54e50d02e670ac184e5cb3e /src/sound.c | |
parent | 4a02423f72339dad31ff7fecf3007370af1f94ef (diff) | |
download | emacs-305018ecb23936a59d8fe0440952f5251d382a7c.tar.gz |
(alsa_configure): Remove call do deprecated
_pcm_sw_params_set_xfer_align.
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 6 |
1 files changed, 0 insertions, 6 deletions
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); |