cleanup
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#include "config.h"
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -217,7 +216,7 @@ void CheckOSSVersion( int fd )
|
|||||||
*/
|
*/
|
||||||
#ifndef FORCE_OSS
|
#ifndef FORCE_OSS
|
||||||
#define ALSA_SNDRV_OSS_VERSION ((3<<16)|(8<<8)|(1<<4)|(0))
|
#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 );
|
close( fd );
|
||||||
RageException::ThrowNonfatal( "RageSound_OSS: ALSA detected. ALSA OSS emulation is buggy; use ALSA natively.");
|
RageException::ThrowNonfatal( "RageSound_OSS: ALSA detected. ALSA OSS emulation is buggy; use ALSA natively.");
|
||||||
|
|||||||
Reference in New Issue
Block a user