mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
remove the now-unnecessary SDL stuff from love.audio
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user