diff options
| author | Jan Djärv | 2009-03-14 15:19:04 +0000 |
|---|---|---|
| committer | Jan Djärv | 2009-03-14 15:19:04 +0000 |
| commit | 305018ecb23936a59d8fe0440952f5251d382a7c (patch) | |
| tree | 4e78ab82c840e137a54e50d02e670ac184e5cb3e /src | |
| parent | 4a02423f72339dad31ff7fecf3007370af1f94ef (diff) | |
| download | emacs-305018ecb23936a59d8fe0440952f5251d382a7c.tar.gz emacs-305018ecb23936a59d8fe0440952f5251d382a7c.zip | |
(alsa_configure): Remove call do deprecated
_pcm_sw_params_set_xfer_align.
Diffstat (limited to 'src')
| -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 @@ | |||
| 1 | 2009-03-14 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * sound.c (alsa_configure): Remove call to deprecated | ||
| 4 | snd_pcm_sw_params_set_xfer_align. | ||
| 5 | |||
| 1 | 2009-03-14 Stephen Berman <stephen.berman@gmx.net> | 6 | 2009-03-14 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 7 | ||
| 3 | * gtkutil.c (xg_tool_bar_callback): Set focus back to the frame | 8 | * 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) | |||
| 1066 | if (err < 0) | 1066 | if (err < 0) |
| 1067 | alsa_sound_perror ("Unable to set avail min for playback", err); | 1067 | alsa_sound_perror ("Unable to set avail min for playback", err); |
| 1068 | 1068 | ||
| 1069 | /* Align all transfers to 1 period */ | ||
| 1070 | err = snd_pcm_sw_params_set_xfer_align (p->handle, p->swparams, | ||
| 1071 | p->period_size); | ||
| 1072 | if (err < 0) | ||
| 1073 | alsa_sound_perror ("Unable to set transfer align for playback", err); | ||
| 1074 | |||
| 1075 | err = snd_pcm_sw_params (p->handle, p->swparams); | 1069 | err = snd_pcm_sw_params (p->handle, p->swparams); |
| 1076 | if (err < 0) | 1070 | if (err < 0) |
| 1077 | alsa_sound_perror ("Unable to set sw params for playback\n", err); | 1071 | alsa_sound_perror ("Unable to set sw params for playback\n", err); |