• Jan Djärv's avatar
    * config.in: Regenerated (HAVE_ALSA). · a940e2c6
    Jan Djärv authored
    	* 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
    a940e2c6
ChangeLog 849 KB