Endian fixes:
The library output is host-endian, however the player side assumes
little endian basically cause the original author got lazy on the
player :)  [ See: http://sf.net/p/wildmidi/support-requests/2/ . ]
Fix this by using SND_PCM_FORMAT_S16 instead of SND_PCM_FORMAT_S16_LE
in alsa, and AFMT_S16_NE instead of AFMT_S16_LE in oss output code.
add endian check to cmake.
OSS: fix default device name (/dev/dsp, not "default")
CMake: fix ccmake when initially no audio output driver is set.
running ccmake without any WANT_<drv> arguments set, and then
setting oss or openal to ON now works properly. (it previously
failed linkage due to missing alsa symbols.)
CMake: clean some left-overs from the previous commit
fix more leftovers (for crying out loud...)
OSS: fix SIGSEGV (issue GETOSPACE ioctl _after_ setting the other required params)
OSS: pass correct size param to munmap(). munmap() buf before closing audio_fd.
Cleanup more: remove HAVE_ALSA_H and HAVE_OPENAL_H from config.h, no longer used. move alsa, oss and openal pkg finds into to WANT_PLAYER block for unices case.
Merge pull request #23 from sezero/master

 sezero	Endian fixes: …	 ca08ab4
 sezero	OSS: fix default device name (/dev/dsp, not "default")	713b9d4
 sezero	CMake: fix ccmake when initially no audio output driver is set. …	  2144e00
 sezero	CMake: clean some left-overs from the previous commit	 7f07926
 sezero	fix more leftovers (for crying out loud...)	 5c868c1
 sezero	OSS: fix SIGSEGV (issue GETOSPACE ioctl _after_ setting the other req… …	 5bd3011
 sezero	OSS: pass correct size param to munmap(). munmap() buf before closing… …	 84b8a27
 sezero	Cleanup more: remove HAVE_ALSA_H and HAVE_OPENAL_H from config.h, no … …
wav writer: byte-swap the incoming buffer on big endian systems so that we write only little-endian 16 bit data.
fix off-by-one mistake
Merge pull request #26 from sezero/wav_be

wav writer byte-swap
fix duplicate shutting down, updated Copyright to indicate more developers and updated issue tracker
include config.h only from src/*.c, not from our include/*.h
Merge pull request #27 from sezero/cfgfile

attempt to fix multiple config.h inclusions
initial djgpp port:
- use findfirst() instead of stat() for dos in file_io.
- always use O_BINARY in file open flags, which removes a few ifdefs
  from the body of the code. define it as 0 if not already defined.
- make the lock functions nop for dos builds.
- combine some _WIN32 conditionals with __DJGPP__ where appropriate.
  complete some other missing pieces for djgpp.
add djgpp-specific makefile and config.
djgpp port: add a minimalistic README, and a minor edit to the Makefile.
Merge pull request #28 from sezero/djgpp

initial dos (djgpp) port by sezero
revert the two previous endian commits: the library seems to generate specifically little endian data. documented it properly.