From a62dd1b714ca5f9a666fa7f36427acc354db629f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 2 Apr 2004 07:44:23 +0000 Subject: [PATCH] cleanup --- stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp b/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp index 08a268f793..c212137faa 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp @@ -8,7 +8,6 @@ #include "RageUtil.h" #include "SDL.h" -#include "config.h" #include #include #include @@ -217,7 +216,7 @@ void CheckOSSVersion( int fd ) */ #ifndef FORCE_OSS #define ALSA_SNDRV_OSS_VERSION ((3<<16)|(8<<8)|(1<<4)|(0)) - if( version == ALSA_SNDRV_OSS_VERSION && IsADirectory("/proc/asound")) + if( version == ALSA_SNDRV_OSS_VERSION && IsADirectory("/proc/asound") ) { close( fd ); RageException::ThrowNonfatal( "RageSound_OSS: ALSA detected. ALSA OSS emulation is buggy; use ALSA natively.");