minor refactor
This commit is contained in:
@@ -14,8 +14,8 @@
|
|||||||
#include <AL/alc.h>
|
#include <AL/alc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "audio.h"
|
#include "../audio.h"
|
||||||
#include "../typedefs.h"
|
#include "../../typedefs.h"
|
||||||
|
|
||||||
namespace audio {
|
namespace audio {
|
||||||
struct ALBuffer;
|
struct ALBuffer;
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include "../typedefs.h"
|
#include "../../typedefs.h"
|
||||||
|
|
||||||
#define AL_CHECK(STATEMENT) STATEMENT; AL::check_errors(__FILE__, __LINE__)
|
#define AL_CHECK(STATEMENT) STATEMENT; AL::check_errors(__FILE__, __LINE__)
|
||||||
#define AL_GET_ERROR() AL::check_errors(__FILE__, __LINE__)
|
#define AL_GET_ERROR() AL::check_errors(__FILE__, __LINE__)
|
||||||
+1
-1
@@ -3,8 +3,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include "ALAudio.h"
|
|
||||||
#include "NoAudio.h"
|
#include "NoAudio.h"
|
||||||
|
#include "AL/ALAudio.h"
|
||||||
|
|
||||||
#include "../coders/wav.h"
|
#include "../coders/wav.h"
|
||||||
#include "../coders/ogg.h"
|
#include "../coders/ogg.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user