aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/effects.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Store the per-version EAX effect state in the base classChris Robinson2023-03-091-1/+1
| | | | | | | | | | | | | | | | This is the start of the refactoring for holding separable per-version EAX effects. Currently the effect state is stored in the effect object, which is instantiated per-type. This makes it impossible for different effects to be assigned on different EAX versions for a given effect slot (e.g. if the app sets a Chorus effect on EAX4 Slot0, it would fail to get or set the EAX1/2/3 reverb properties since it's a Chorus effect object). Seperate per-version effects will allow for switching the OpenAL effect by switching versions. This will provide an extra benefit in being able to delay OpenAL effect initialization until some EAX version has been set, avoiding an extraneous reverb and/or chorus processor for apps that only query some EAX properties but don't set anything (or which only use Slot0, leaving Slot1 with a defaulted Chorus effect running).
* [EAX] Use separate FX slot state for each version (#730)Boris I. Bendovsky2022-07-121-18/+14
| | | | | | | * [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-13/+13
| | | | | * [EAX] Add separate effect state for each version * [EAX] Don't use EAX call as data member
* Move some declarations to where the definitions will seeChris Robinson2022-02-141-15/+0
|
* Avoid using ALeffect to manage EaxEffect objectsChris Robinson2022-02-071-53/+27
| | | | Effect slots can just use its EaxEffect directly.
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-301-4/+5
| | | | And disable it by default for non-Windows targets
* Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)Boris I. Bendovsky2022-01-301-0/+106
* Add EAX extensions (EAX 2.0-5.0, X-RAM) * Comment out C++17 leftovers * Remove everything related to patching * Update alsoftrc.sample * Rewrite integration * Fix GCC compilation under Linux * Always reset EAX effect properties when loading it into FX slot