aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allocate effect slot property updates in clustersChris Robinson2024-01-031-13/+12
|
* Use an allocator to allocate uninitilized sublistsChris Robinson2024-01-011-15/+16
|
* Use standard operator new[] and delete[] for aligned allocationsChris Robinson2024-01-011-1/+1
|
* Handle pointer ownership a bit betterChris Robinson2023-12-291-16/+14
|
* Try to start being a bit more pointer-owner consciousChris Robinson2023-12-261-15/+10
|
* Use separate structs for the dedicated dialog/lfe effectsChris Robinson2023-12-231-2/+2
|
* Much more clang-tidy cleanupChris Robinson2023-12-101-20/+20
|
* Clean up some more clang-tidy warningsChris Robinson2023-12-081-2/+2
|
* Remove some unnecessary atomic wrappersChris Robinson2023-12-031-3/+4
|
* Rename the convolution reverb effect to just convolutionChris Robinson2023-10-121-1/+1
| | | | | While the common use case, convolution can do more than just reverb, and it nicely shortens the name.
* Avoid casting an integer literalChris Robinson2023-09-221-1/+1
|
* Allow querying AL_EFFECTSLOT_EFFECTChris Robinson2023-08-251-4/+10
| | | | | | | This doesn't make much sense since the effect associated with the ID may be modified and not represent the effect being played, or was even deleted and isn't a valid effect ID, but Generic Software allows querying it so it should be queryable for compatibility if nothing else.
* Add AL_EXT_debug functions to set/get object namesChris Robinson2023-08-111-0/+13
|
* Declare functions closer to where they're neededChris Robinson2023-07-261-12/+11
| | | | | This provides better code locality when calling implicit context functions that call their direct context variants.
* Make the API functions noexceptChris Robinson2023-05-221-12/+4
| | | | | | | | | | | Only relevant for C++, but these functions can't throw as it's a C-based API. Letting the compiler know that helps improve code generation. Extension callbacks must also not let exceptions leave the callback, or else Bad Things can happen. The macro AL_DISABLE_NOEXCEPT may be defined before including the headers to not mark functions as noexcept, but this should only be done if the caller can't otherwise be fixed.
* Fix linkage definitionsChris Robinson2023-05-141-11/+11
|
* Don't check for a null context in direct functionsChris Robinson2023-05-141-36/+3
|
* Implement direct functions for EFXChris Robinson2023-05-141-84/+85
|
* Avoid using al::vector unnecessarilyChris Robinson2023-05-121-4/+4
|
* Use some more standard functionsChris Robinson2023-05-051-5/+5
|
* Don't try to access null pointersChris Robinson2023-04-281-0/+3
|
* Simplify effect state buffer handling someChris Robinson2023-04-041-9/+2
|
* Don't set a default EAX version for fx slotsChris Robinson2023-03-111-1/+0
|
* Update the EAX version after setting fx slot propertiesChris Robinson2023-03-111-7/+10
|
* Don't commit EAX updates in applyAllUpdatesChris Robinson2023-03-111-4/+0
| | | | | | | | | | To avoid alcProcessContext causing deferred EAX properties to be committed. This simplifies updates when EAX has been initialized, but never or rarely used. Committing now always occurs in EAXSet when the property is non-deferred, updating the OpenAL object(s) with it (with OpenAL's updates then being applied based on the context's defer state).
* Convert the EAX Compressor effectChris Robinson2023-03-101-1/+1
| | | | And combine some type checks.
* Convert EAX chorus and flanger effectsChris Robinson2023-03-101-1/+1
|
* Rework EAX effect handlingChris Robinson2023-03-101-97/+45
| | | | | | | Allocate a base EaxEffect object once for all effect types, instead of reallocating different derived types on effect changes. The reverb and null effects have been converted to the new interface, the others are currently broken/unsupported, but will be restored shortly.
* Use macros for the likely/unlikely attributesChris Robinson2023-03-011-56/+56
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Avoid using a macro to set a context error and returnChris Robinson2022-12-241-21/+21
|
* Avoid using a macro to wrap standard attributesChris Robinson2022-12-061-56/+56
|
* Use standard likely/unlikely attributes when availableChris Robinson2022-12-051-56/+56
|
* AllocEffectSlot can't failChris Robinson2022-07-291-17/+3
|
* Use an intrusive_ptr to hold on to the EffectStateChris Robinson2022-07-291-5/+3
|
* Mark the EffectSlot in use after getting oneChris Robinson2022-07-261-0/+1
|
* [EAX_SOURCE] Fix source's occlusion and exclusion contributionBoris I. Bendovsky2022-07-171-2/+15
| | | | Source's oclussion and exclusion properties should be taken into account only for listener's environment (see p. 16, p. 56, pp. 62-63 and p. 64 of "EAX® 4.0 Programmer’s Guide").
* [EAX_FX_SLOT] Fix setting EAX5 flagsBoris I. Bendovsky2022-07-171-1/+1
|
* [EAX_FX_SLOT] Fix defaults for current propertiesBoris I. Bendovsky2022-07-171-14/+40
|
* [EAX_FX_SLOT] Fix EAXGet for EAX5Boris I. Bendovsky2022-07-171-1/+1
|
* Don't pass an EaxCall to initialize_fx_slotsChris Robinson2022-07-151-10/+2
|
* Allocate EffectSlots in clustersChris Robinson2022-07-151-4/+4
|
* Dynamically allocate EffectSlot objectsChris Robinson2022-07-151-9/+12
|
* Don't track dirty flags per EAX versionChris Robinson2022-07-131-39/+29
| | | | | Only the current version's flags are used, and they're all reset when changing versions, making it unnecessary to track non-current version flags.
* [EAX] Use separate FX slot state for each version (#730)Boris I. Bendovsky2022-07-121-510/+328
| | | | | | | * [EAX] Use separate FX slot state for each version [EAX] Don't defer FX slot properties * [EAX_FXSLOT] Use mPropsDirty to defer update [EAX_CONTEXT] Commit all updates on first initialization
* [EAX] Add separate effect state for each version (#705)Boris I. Bendovsky2022-05-241-110/+84
| | | | | * [EAX] Add separate effect state for each version * [EAX] Don't use EAX call as data member
* Move EAX files to their own sub-directoryChris Robinson2022-05-161-2/+2
|
* Replace a few asserts with actual checks or ASSUME()Chris Robinson2022-03-301-1/+1
|
* Inline a couple dispatch callsChris Robinson2022-03-261-7/+0
|
* Avoid a stateful unique_ptr deleterChris Robinson2022-03-051-12/+3
|
* Simplify committing EAX propertiesChris Robinson2022-03-051-22/+6
| | | | | | Based on DirectSound's EAX behavior, committing any EAX property commits *all* deferred property changes, not just the object being changed. So applying EAX changes can be handled in one place.