Commit 1412a172 authored by Sam Lantinga's avatar Sam Lantinga

Name changed from OBSD to OPENBSD_AUDIO

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40122
parent d687fcb0
......@@ -301,7 +301,7 @@ CheckOPENBSDAUDIO()
[ --enable-openbsdaudio OpenBSD native audio support [default=yes]],
, enable_openbsdaudio=yes)
if test x$enable_audio = xyes -a x$enable_openbsdaudio = xyes; then
CFLAGS="$CFLAGS -DOBSD_SUPPORT"
CFLAGS="$CFLAGS -DOPENBSD_AUDIO_SUPPORT"
AUDIO_SUBDIRS="$AUDIO_SUBDIRS openbsd"
AUDIO_DRIVERS="$AUDIO_DRIVERS openbsd/libaudio_openbsd.la"
fi
......
......@@ -40,8 +40,8 @@ static char rcsid =
/* Available audio drivers */
static AudioBootStrap *bootstrap[] = {
#ifdef OBSD_SUPPORT
&OBSD_bootstrap,
#ifdef OPENBSD_AUDIO_SUPPORT
&OPENBSD_AUDIO_bootstrap,
#endif
#ifdef OSS_SUPPORT
&DSP_bootstrap,
......
......@@ -99,8 +99,8 @@ typedef struct AudioBootStrap {
SDL_AudioDevice *(*create)(int devindex);
} AudioBootStrap;
#ifdef OBSD_SUPPORT
extern AudioBootStrap OBSD_bootstrap;
#ifdef OPENBSD_AUDIO_SUPPORT
extern AudioBootStrap OPENBSD_AUDIO_bootstrap;
#endif
#ifdef OSS_SUPPORT
extern AudioBootStrap DSP_bootstrap;
......
......@@ -131,7 +131,7 @@ static SDL_AudioDevice
return this;
}
AudioBootStrap OBSD_bootstrap = {
AudioBootStrap OPENBSD_AUDIO_bootstrap = {
OBSD_DRIVER_NAME, "Native OpenBSD audio",
Audio_Available, Audio_CreateDevice
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment