* config.in: Regenerated (HAVE_ALSA).
commita940e2c652c2d9bec1f088a1c801403fb9378e6f
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 18 May 2006 17:06:55 +0000 (18 17:06 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 18 May 2006 17:06:55 +0000 (18 17:06 +0000)
tree0780f14d682779ad12a22bbe36588d80633dc0b4
parent2d2643f6535ee6160abbf2d6adfe5898ebdc2a02
* config.in: Regenerated (HAVE_ALSA).

* sound.c (alsa_sound_perror, alsa_open, alsa_period_size)
(alsa_configure, alsa_close, alsa_choose_format, alsa_write)
(snd_error_quiet, alsa_init): New functions.
(vox_init): Return 0 if unable to open device.
(Fplay_sound_internal): Test for alsa first and use vox (oss) as
a fallback.
(struct sound_device): Add period_size.
(wav_play, au_play): Use period_size if set.

* Makefile.in (CFLAGS_SOUND): New flags for ALSA
(ALL_CFLAGS): Add CFLAGS_SOUND
src/ChangeLog