diff options
Diffstat (limited to 'alc')
-rw-r--r-- | alc/context.cpp | 27 | ||||
-rw-r--r-- | alc/context.h | 18 |
2 files changed, 9 insertions, 36 deletions
diff --git a/alc/context.cpp b/alc/context.cpp index bd03eb67..36818537 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -568,33 +568,6 @@ void ALCcontext::eax_set_last_error() noexcept eax_last_error_ = EAXERR_INVALID_OPERATION; } -float ALCcontext::eax_get_max_filter_gain() const noexcept -{ - return eax_max_filter_gain_; -} - -EaxFxSlotIndex ALCcontext::eax_get_previous_primary_fx_slot_index() const noexcept -{ - return eax_previous_primary_fx_slot_index_; -} - -EaxFxSlotIndex ALCcontext::eax_get_primary_fx_slot_index() const noexcept -{ - return eax_primary_fx_slot_index_; -} - -const ALeffectslot& ALCcontext::eax_get_fx_slot( - EaxFxSlotIndexValue fx_slot_index) const -{ - return eax_fx_slots_.get(fx_slot_index); -} - -ALeffectslot& ALCcontext::eax_get_fx_slot( - EaxFxSlotIndexValue fx_slot_index) -{ - return eax_fx_slots_.get(fx_slot_index); -} - [[noreturn]] void ALCcontext::eax_fail( const char* message) diff --git a/alc/context.h b/alc/context.h index f2e88cd4..613c6c12 100644 --- a/alc/context.h +++ b/alc/context.h @@ -250,17 +250,17 @@ public: void eax_set_last_error() noexcept; - float eax_get_max_filter_gain() const noexcept; + float eax_get_max_filter_gain() const noexcept { return eax_max_filter_gain_; } - EaxFxSlotIndex eax_get_previous_primary_fx_slot_index() const noexcept; + EaxFxSlotIndex eax_get_previous_primary_fx_slot_index() const noexcept + { return eax_previous_primary_fx_slot_index_; } + EaxFxSlotIndex eax_get_primary_fx_slot_index() const noexcept + { return eax_primary_fx_slot_index_; } - EaxFxSlotIndex eax_get_primary_fx_slot_index() const noexcept; - - const ALeffectslot& eax_get_fx_slot( - EaxFxSlotIndexValue fx_slot_index) const; - - ALeffectslot& eax_get_fx_slot( - EaxFxSlotIndexValue fx_slot_index); + const ALeffectslot& eax_get_fx_slot(EaxFxSlotIndexValue fx_slot_index) const + { return eax_fx_slots_.get(fx_slot_index); } + ALeffectslot& eax_get_fx_slot(EaxFxSlotIndexValue fx_slot_index) + { return eax_fx_slots_.get(fx_slot_index); } private: |