aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of an unnecessary copy of ALeffectPropsChris Robinson2016-05-131-1/+1
|
* Provide (mostly) lockless updates for effect slotsChris Robinson2016-05-121-2/+4
| | | | | | | | | | | | | | | | | Similar to the listener, separate containers are provided atomically for the mixer thread to apply updates without needing to block, and a free-list is used to reuse container objects. A couple things to note. First, the lock is still used when the effect state's deviceUpdate method is called to prevent asynchronous calls to reset the device from interfering. This can be fixed by using the list lock in ALc.c instead. Secondly, old effect states aren't immediately deleted when the effect type changes (the actual type, not just its properties). This is because the mixer thread is intended to be real-time safe, and so can't be freeing anything. They are cleared away when updates reuse the container they were kept in, and they don't incur any extra processing cost, but there may be cases where the memory is kept around until the effect slot is deleted.
* Pass a pointer to the input samples array for effect processingChris Robinson2016-01-271-1/+1
|
* Separate calculating ambisonic coefficients from the panning gainsChris Robinson2016-01-251-1/+1
|
* Pas the output device channel count to ALeffectState::processChris Robinson2014-11-071-4/+1
|
* Use a void* for the effect state Delete method paramChris Robinson2014-03-211-4/+14
|
* Use inline initialization for effect state factory vtablesChris Robinson2013-10-071-13/+6
|
* Constify the effect parameter of effect gettersChris Robinson2013-10-071-4/+4
|
* Use the UNUSED macro in the effectsChris Robinson2013-10-071-39/+15
|
* Fix up the naming convention of effect methodsChris Robinson2013-05-291-11/+11
|
* Cleanup the ALeffectStateFactory_create methodsChris Robinson2013-05-271-1/+2
| | | | | Get rid of the ALeffectStateFactory_create macro, and use the VCALL_NOARGS helper (requires adding the 'this' factory parameter).
* Use the helper macros in more placesChris Robinson2013-05-261-24/+24
|
* Use a Delete method for deletable objectsChris Robinson2013-05-251-13/+3
|
* Update the Null effect so it can act as a guide to new effectsChris Robinson2013-05-251-11/+100
|
* Use vtables for setting effect propertiesChris Robinson2013-05-241-8/+10
|
* Move the AL_EFFECT_NULL state into a separate fileChris Robinson2013-05-231-0/+104