Skip to content

Commit

Permalink
Name changed from OBSD to OPENBSD_AUDIO
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 23, 2001
1 parent 48771c3 commit 02aca6e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/audio/SDL_audio.c
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/audio/SDL_sysaudio.h
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/audio/openbsd/SDL_openbsdaudio.c
Expand Up @@ -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
};
Expand Down

0 comments on commit 02aca6e

Please sign in to comment.