Name changed from OBSD to OPENBSD_AUDIO

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40122
This commit is contained in:
Sam Lantinga 2001-07-23 02:58:42 +00:00
parent d687fcb09b
commit 1412a1724e
4 changed files with 6 additions and 6 deletions

View file

@ -301,7 +301,7 @@ CheckOPENBSDAUDIO()
[ --enable-openbsdaudio OpenBSD native audio support [default=yes]], [ --enable-openbsdaudio OpenBSD native audio support [default=yes]],
, enable_openbsdaudio=yes) , enable_openbsdaudio=yes)
if test x$enable_audio = xyes -a x$enable_openbsdaudio = xyes; then 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_SUBDIRS="$AUDIO_SUBDIRS openbsd"
AUDIO_DRIVERS="$AUDIO_DRIVERS openbsd/libaudio_openbsd.la" AUDIO_DRIVERS="$AUDIO_DRIVERS openbsd/libaudio_openbsd.la"
fi fi

View file

@ -40,8 +40,8 @@ static char rcsid =
/* Available audio drivers */ /* Available audio drivers */
static AudioBootStrap *bootstrap[] = { static AudioBootStrap *bootstrap[] = {
#ifdef OBSD_SUPPORT #ifdef OPENBSD_AUDIO_SUPPORT
&OBSD_bootstrap, &OPENBSD_AUDIO_bootstrap,
#endif #endif
#ifdef OSS_SUPPORT #ifdef OSS_SUPPORT
&DSP_bootstrap, &DSP_bootstrap,

View file

@ -99,8 +99,8 @@ typedef struct AudioBootStrap {
SDL_AudioDevice *(*create)(int devindex); SDL_AudioDevice *(*create)(int devindex);
} AudioBootStrap; } AudioBootStrap;
#ifdef OBSD_SUPPORT #ifdef OPENBSD_AUDIO_SUPPORT
extern AudioBootStrap OBSD_bootstrap; extern AudioBootStrap OPENBSD_AUDIO_bootstrap;
#endif #endif
#ifdef OSS_SUPPORT #ifdef OSS_SUPPORT
extern AudioBootStrap DSP_bootstrap; extern AudioBootStrap DSP_bootstrap;

View file

@ -131,7 +131,7 @@ static SDL_AudioDevice
return this; return this;
} }
AudioBootStrap OBSD_bootstrap = { AudioBootStrap OPENBSD_AUDIO_bootstrap = {
OBSD_DRIVER_NAME, "Native OpenBSD audio", OBSD_DRIVER_NAME, "Native OpenBSD audio",
Audio_Available, Audio_CreateDevice Audio_Available, Audio_CreateDevice
}; };