Browse Source

Meeeerge...

Bart van Strien 14 years ago
parent
commit
995da9f660

+ 0 - 3
src/modules/audio/openal/Audio.h

@@ -27,9 +27,6 @@
 #include <iostream>
 #include <iostream>
 #include <cmath>
 #include <cmath>
 
 
-// SDL
-#include <SDL.h>
-
 // LOVE
 // LOVE
 #include <audio/Audio.h>
 #include <audio/Audio.h>
 #include <common/config.h>
 #include <common/config.h>

+ 0 - 10
src/modules/audio/openal/Pool.cpp

@@ -22,16 +22,6 @@
 
 
 #include "Source.h"
 #include "Source.h"
 
 
-#define MUTEX_ASSERT(fn, sval) \
-	if(fn != sval) \
-	{ \
-		std::cout << "Mutex lock/unlock failure. " << SDL_GetError() << std::endl; \
-		exit(-1); \
-	} \
-
-#define LOCK(m) MUTEX_ASSERT(SDL_LockMutex(m), 0)
-#define UNLOCK(m) MUTEX_ASSERT(SDL_UnlockMutex(m), 0)
-
 namespace love
 namespace love
 {
 {
 namespace audio
 namespace audio

+ 0 - 3
src/modules/audio/openal/Pool.h

@@ -27,9 +27,6 @@
 #include <iostream>
 #include <iostream>
 #include <cmath>
 #include <cmath>
 
 
-// SDL
-#include <SDL.h>
-
 // LOVE
 // LOVE
 #include <common/config.h>
 #include <common/config.h>
 #include <common/Exception.h>
 #include <common/Exception.h>