diff options
author | Chris Robinson <[email protected]> | 2022-07-05 09:27:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-07-05 09:27:44 -0700 |
commit | 74b2e3b349ac42186a6359ee766482fb4283a331 (patch) | |
tree | b37ecb1489a01d7f5ab3df015892abd749431cc6 | |
parent | 3ac78307ec0d6d1cfc7fa1848101faa9c0afc34f (diff) |
Remove an unused struct
And minor formatting cleanup
-rw-r--r-- | al/eax/utils.cpp | 3 | ||||
-rw-r--r-- | al/eax/utils.h | 2 | ||||
-rw-r--r-- | alc/context.h | 10 |
3 files changed, 3 insertions, 12 deletions
diff --git a/al/eax/utils.cpp b/al/eax/utils.cpp index 1ee7dbc7..b3ed6ca1 100644 --- a/al/eax/utils.cpp +++ b/al/eax/utils.cpp @@ -8,8 +8,7 @@ #include "core/logging.h" -void eax_log_exception( - const char* message) noexcept +void eax_log_exception(const char *message) noexcept { const auto exception_ptr = std::current_exception(); assert(exception_ptr); diff --git a/al/eax/utils.h b/al/eax/utils.h index 5a8fdd64..2960c6d7 100644 --- a/al/eax/utils.h +++ b/al/eax/utils.h @@ -11,7 +11,7 @@ struct EaxAlLowPassParam { float gain_hf; }; -void eax_log_exception(const char* message = nullptr) noexcept; +void eax_log_exception(const char *message) noexcept; template<typename TException, typename TValue> void eax_validate_range( diff --git a/alc/context.h b/alc/context.h index 2290839e..d30ee360 100644 --- a/alc/context.h +++ b/alc/context.h @@ -28,8 +28,7 @@ using ContextDirtyFlagsValue = std::uint_least8_t; -struct ContextDirtyFlags -{ +struct ContextDirtyFlags { using EaxIsBitFieldStruct = bool; ContextDirtyFlagsValue guidPrimaryFXSlotID : 1; @@ -38,13 +37,6 @@ struct ContextDirtyFlags ContextDirtyFlagsValue flHFReference : 1; ContextDirtyFlagsValue flMacroFXFactor : 1; }; // ContextDirtyFlags - - -struct EaxAlIsExtensionPresentResult -{ - ALboolean is_present; - bool is_return; -}; // EaxAlIsExtensionPresentResult #endif // ALSOFT_EAX struct ALeffect; |