Cleaned up the OpenBSD port, thanks to Peter Valchev

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4095
This commit is contained in:
Sam Lantinga 2001-07-08 09:00:06 +00:00
parent ea5f242f09
commit acab15a3bd
9 changed files with 153 additions and 90 deletions

View file

@ -39,7 +39,11 @@ static char rcsid =
#include "SDL_audiodev_c.h"
#ifndef _PATH_DEV_DSP
#define _PATH_DEV_DSP "/dev/dsp"
#ifdef __OpenBSD__
#define _PATH_DEV_DSP "/dev/audio"
#else
#define _PATH_DEV_DSP "/dev/dsp"
#endif
#endif
#ifndef _PATH_DEV_DSP24
#define _PATH_DEV_DSP24 "/dev/sound/dsp"