- add -lossaudio if needed, and a check for <soundcard.h>, to configure.in
commitecc7669dfc56e15c96ba6516a61a4fb339b6da81
authorTodd Vierling <tv@pobox.com>
Tue, 15 Dec 1998 17:49:02 +0000 (15 17:49 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 15 Dec 1998 17:49:02 +0000 (15 17:49 +0000)
treea7b670f69542ace2972f49619a4580bf806a9a84
parent9824ec404cc19d4e65a891ede1bb694e21ef4817
- add -lossaudio if needed, and a check for <soundcard.h>, to configure.in
  (run autoconf after this).  Note that the check has been altered to break
  out of the AC_CHECK_HEADERS after the first match - this is so
  <sys/soundcard.h>, if found on NetBSD (a `real' OSS), will not conflict
  with the emulated ossaudio.
- check for <soundcard.h> along with the other two in a mutually-exclusive
  manner in the various *.c files that need it; change include of
  "mmsystem.h" to "multimedia.h" so this logic is all in one place
- change mcicda.c to allow for CD audio manipulation on NetBSD.  This
  includes:
  * changing ioctl() calls to be NON-SPLIT with exactly 3 args; on NetBSD
    ossaudio, ioctl() is #defined to be _oss_ioctl by <soundcard.h>, and
    neither splitting with #-directives nor a two-arg ioctl work;
  * changing the #if logic to allow both FreeBSD and NetBSD to share the
    appropriate code blocks
- block out MIDI code for NetBSD (init.c) and/or missing SNDCTL_MIDI_INFO
  (midi.c, mcimidi.c).  NetBSD's OSS emulation does not (yet) support MIDI.
Thanks go to mycroft@netbsd.org for the 99% bulk of this work.
12 files changed:
configure
configure.in
include/config.h.in
include/multimedia.h
multimedia/audio.c
multimedia/dsound.c
multimedia/init.c
multimedia/mcicda.c
multimedia/mcimidi.c
multimedia/midi.c
multimedia/mixer.c
multimedia/mmaux.c