src/audio/SDL_audiodev.c
changeset 94 ae6e6b73333f
parent 0 74212992fb08
child 252 e8157fcb3114
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