Sound support for NetBSD through "Linux emulation" support:
authorKen Raeburn <raeburn@raeburn.org>
Wed, 5 Jul 2000 19:33:00 +0000 (19:33 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Wed, 5 Jul 2000 19:33:00 +0000 (19:33 +0000)
commit80fcd514bbc519721a2c11e479c6fd1f0f6efb96
tree11be53ea9730804c895ec42b6487dec66a8d0b1a
parentb192d653daad26b27e58f9a1a37593a9ce5a6bca
Sound support for NetBSD through "Linux emulation" support:
* config.in (HAVE_SOUNDCARD_H): Undef.
(HAVE_SOUND): Define if HAVE_SOUNDCARD_H.
* Makefile.in (LIBSOUND): New variable.
(LIBES): Include it.
* sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and <soundcard.h>.
(DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere.
(vox_open): Use DEFAULT_SOUND_DEVICE.
* s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.
src/ChangeLog
src/Makefile.in
src/config.in
src/s/netbsd.h
src/sound.c