'ifnot' template property + hpp

This commit is contained in:
MihailRis
2024-05-06 00:45:43 +03:00
parent 8b1c102cfe
commit 9ea67deb13
59 changed files with 204 additions and 201 deletions
+5 -4
View File
@@ -1,10 +1,11 @@
#include "ALAudio.h"
#include "alutil.h"
#include "ALAudio.hpp"
#include "alutil.hpp"
#include "../../debug/Logger.hpp"
#include <string>
#include <iostream>
#include "../../debug/Logger.hpp"
static debug::Logger logger("al-audio");
using namespace audio;
@@ -1,5 +1,8 @@
#ifndef SRC_AUDIO_AUDIO_H_
#define SRC_AUDIO_AUDIO_H_
#ifndef SRC_AUDIO_AUDIO_HPP_
#define SRC_AUDIO_AUDIO_HPP_
#include "../audio.hpp"
#include "../../typedefs.h"
#include <queue>
#include <vector>
@@ -15,9 +18,6 @@
#include <AL/alc.h>
#endif
#include "../audio.h"
#include "../../typedefs.h"
namespace audio {
struct ALBuffer;
class ALAudio;
@@ -168,4 +168,4 @@ namespace audio {
};
}
#endif /* SRC_AUDIO_AUDIO_H_ */
#endif // SRC_AUDIO_AUDIO_HPP_
+1 -1
View File
@@ -1,4 +1,4 @@
#include "alutil.h"
#include "alutil.hpp"
#include <iostream>
#include <fstream>
@@ -1,5 +1,7 @@
#ifndef SRC_AUDIO_AUDIOUTIL_H_
#define SRC_AUDIO_AUDIOUTIL_H_
#ifndef AUDIO_AUDIOUTIL_HPP_
#define AUDIO_AUDIOUTIL_HPP_
#include "../../typedefs.h"
#include <string>
#include <type_traits>
@@ -12,7 +14,6 @@
#endif
#include <glm/glm.hpp>
#include "../../typedefs.h"
#define AL_CHECK(STATEMENT) STATEMENT; AL::check_errors(__FILE__, __LINE__)
#define AL_GET_ERROR() AL::check_errors(__FILE__, __LINE__)
@@ -80,4 +81,4 @@ namespace AL {
}
}
#endif /* SRC_AUDIO_AUDIOUTIL_H_ */
#endif // AUDIO_AUDIOUTIL_HPP_