If Darwin don't compile ALSA9 drivers
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "arch_default.h"
|
||||
|
||||
/* Override them with arch-specific drivers, as available. */
|
||||
#if defined(LINUX)
|
||||
#if defined(LINUX) && !(defined DARWIN)
|
||||
#include "arch_linux.h"
|
||||
#elif defined(WIN32)
|
||||
#include "arch_Win32.h"
|
||||
@@ -55,7 +55,7 @@ RageSoundDriver *MakeRageSoundDriver(CString drivers)
|
||||
if(!DriversToTry[i].CompareNoCase("DirectSound-sw")) ret = new RageSound_DSound_Software;
|
||||
if(!DriversToTry[i].CompareNoCase("WaveOut")) ret = new RageSound_WaveOut;
|
||||
#endif
|
||||
#ifdef LINUX /* should use some define akin to HAS_ALSA9 */
|
||||
#if defined(LINUX) && !defined(DARWIN) /* should use some define akin to HAS_ALSA9 */
|
||||
if(!DriversToTry[i].CompareNoCase("ALSA9")) ret = new RageSound_ALSA9;
|
||||
#endif
|
||||
if(!DriversToTry[i].CompareNoCase("Null")) ret = new RageSound_Null;
|
||||
|
||||
@@ -18,7 +18,7 @@ void MakeInputHandlers(vector<InputHandler *> &Add);
|
||||
RageSoundDriver *MakeRageSoundDriver(CString drivers);
|
||||
|
||||
/* Define the default list of sound drivers for each arch. */
|
||||
#if defined(LINUX)
|
||||
#if defined(LINUX) && !defined(DARWIN)
|
||||
#define DEFAULT_SOUND_DRIVER_LIST "ALSA9,Null"
|
||||
#elif defined(WIN32)
|
||||
#define DEFAULT_SOUND_DRIVER_LIST "DirectSound,DirectSound-sw,WaveOut"
|
||||
|
||||
Reference in New Issue
Block a user