comparison src/audio/SDL_audiodev.c @ 94:ae6e6b73333f

Cleaned up the OpenBSD port, thanks to Peter Valchev
author Sam Lantinga <slouken@lokigames.com>
date Sun, 08 Jul 2001 09:00:06 +0000
parents 74212992fb08
children e8157fcb3114
comparison
equal deleted inserted replaced
93:fc774f445e10 94:ae6e6b73333f
37 #include <string.h> 37 #include <string.h>
38 38
39 #include "SDL_audiodev_c.h" 39 #include "SDL_audiodev_c.h"
40 40
41 #ifndef _PATH_DEV_DSP 41 #ifndef _PATH_DEV_DSP
42 #define _PATH_DEV_DSP "/dev/dsp" 42 #ifdef __OpenBSD__
43 #define _PATH_DEV_DSP "/dev/audio"
44 #else
45 #define _PATH_DEV_DSP "/dev/dsp"
46 #endif
43 #endif 47 #endif
44 #ifndef _PATH_DEV_DSP24 48 #ifndef _PATH_DEV_DSP24
45 #define _PATH_DEV_DSP24 "/dev/sound/dsp" 49 #define _PATH_DEV_DSP24 "/dev/sound/dsp"
46 #endif 50 #endif
47 #ifndef _PATH_DEV_AUDIO 51 #ifndef _PATH_DEV_AUDIO