aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename alcmain.h to device.hChris Robinson2021-04-271-1/+1
|
* Update include headersChris Robinson2021-04-271-3/+3
| | | | Don't add alc/ to the include paths.
* Make an inverted atomic flag type and use itChris Robinson2021-04-151-1/+1
| | | | | | | | The inverted atomic flag replaces test_and_set+clear with test_and_clear+set, essentially inverting the flag status. This makes more logical sense for flagging dirty state, which is less confusing than flagging clean state. The one caveat is ATOMIC_FLAG_INIT (or default construction in C++20) initializes the state to true rather than false.
* Combine multiple functions into oneChris Robinson2020-12-281-2/+1
|
* Move the WetBuffer reference to EffectSlotChris Robinson2020-12-271-3/+0
|
* Avoid AL enums for the EffectSlot typeChris Robinson2020-12-261-1/+1
|
* Use a separate structure for the active effect slot propertiesChris Robinson2020-11-071-47/+2
|
* Store the wet buffers in the contextChris Robinson2020-11-021-1/+2
| | | | | | This is rather ugly, but we need the wet buffers to remain allocated after its effect slot is deleted, because a voice can still use it for its final fade-out mix.
* Rework effect slot buffer settingChris Robinson2020-09-051-3/+0
| | | | | | | | Rather than creating an effect-specific buffer that gets passed along as a property, the buffer is set the effect state when the effect state is created, the device is updated, or the buffer is changed. The buffer can only be set while the effect slot isn't playing, so it won't be changed or updated while the mixer is processing the effect state.
* Don't add effect slots to the active list until an effect is setChris Robinson2020-09-051-0/+8
|
* Store a reference to the effect buffer as an active propertyChris Robinson2020-08-241-0/+2
|
* Add a method for effects to create persistent buffer dataChris Robinson2020-08-241-0/+1
|
* Use an intrusive_ptr to hold the unapplied effect stateChris Robinson2020-08-241-1/+1
|
* Allow setting a buffer on an effect slotChris Robinson2020-08-241-0/+2
|
* Use an intrusive_ptr for ALeffectslotProps::StateChris Robinson2020-08-241-1/+2
|
* Change a couple functions into member functionsChris Robinson2020-05-101-5/+4
|
* Clean up some more unnecessary uses of AL typesChris Robinson2020-04-081-5/+5
|
* Avoid AL[C]boolean for internal useChris Robinson2020-03-281-7/+7
|
* Add a macro to disable class-specific new/deleteChris Robinson2020-03-231-0/+1
|
* Avoid unnecessary placement new definitionsChris Robinson2019-09-011-1/+1
|
* Use new/delete for context and effectslot propertiesChris Robinson2019-08-131-0/+2
|
* Move update pointers to the containers they updateChris Robinson2019-08-131-2/+2
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-291-0/+103