mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
remove the now-unnecessary SDL stuff from love.audio
This commit is contained in:
@@ -27,9 +27,6 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
// SDL
|
||||
#include <SDL.h>
|
||||
|
||||
// LOVE
|
||||
#include <audio/Audio.h>
|
||||
#include <common/config.h>
|
||||
|
||||
@@ -22,16 +22,6 @@
|
||||
|
||||
#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 audio
|
||||
|
||||
@@ -27,9 +27,6 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
// SDL
|
||||
#include <SDL.h>
|
||||
|
||||
// LOVE
|
||||
#include <common/config.h>
|
||||
#include <common/Exception.h>
|
||||
|
||||
Reference in New Issue
Block a user