aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/eax_utils.h')
-rw-r--r--al/eax_utils.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/al/eax_utils.h b/al/eax_utils.h
index 68e35fcd..d3d4a196 100644
--- a/al/eax_utils.h
+++ b/al/eax_utils.h
@@ -1,17 +1,12 @@
#ifndef EAX_UTILS_INCLUDED
#define EAX_UTILS_INCLUDED
-
-#include <cstdint>
-
#include <algorithm>
+#include <cstdint>
#include <string>
#include <type_traits>
-struct ALCcontext;
-
-
struct EaxAlLowPassParam
{
float gain;
@@ -19,33 +14,6 @@ struct EaxAlLowPassParam
}; // EaxAlLowPassParam
-// Required to call macro `DO_UPDATEPROPS`.
-class EaxAlContextWrapper
-{
-public:
- explicit EaxAlContextWrapper(
- ALCcontext& al_context) noexcept
- :
- al_context_{&al_context}
- {
- }
-
- constexpr ALCcontext* get() noexcept
- {
- return al_context_;
- }
-
- constexpr ALCcontext* operator->() noexcept
- {
- return al_context_;
- }
-
-
-private:
- ALCcontext* al_context_;
-}; // EaxAlContextWrapper
-
-
void eax_log_exception(
const char* message = nullptr) noexcept;