aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/dedicated.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of an unnecessary copy of ALeffectPropsChris Robinson2016-05-131-2/+2
|
* Provide (mostly) lockless updates for effect slotsChris Robinson2016-05-121-4/+5
| | | | | | | | | | | | | | | | | 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.
* Improve radius behavior with scaling of ambisonic coefficientsChris Robinson2016-04-241-1/+1
|
* Don't look up the dry buffer's FrontCenter in the Dedicated effectChris Robinson2016-04-161-8/+4
| | | | | | The real FrontCenter output is used if it exists, and if it doesn't, it's unlikely the dry buffer will have it (and even if it does, it won't be any better than panning).
* More directly map coefficients for ambisonic mixing buffersChris Robinson2016-04-151-6/+5
| | | | | | Instead of looping over all the coefficients for each channel with multiplies, when we know only one will have a non-0 factor for ambisonic mixing buffers, just index the one with a non-0 factor.
* Avoid mixing all coefficients together when only some are usedChris Robinson2016-04-151-1/+1
|
* Mix Dedicated effects to the real output if possibleChris Robinson2016-03-251-6/+21
|
* Generalize GetChannelIdxByNameChris Robinson2016-03-101-2/+2
|
* Organize the dry buffer properties into a structChris Robinson2016-03-091-1/+2
|
* Pass a pointer to the input samples array for effect processingChris Robinson2016-01-271-2/+2
|
* Separate calculating ambisonic coefficients from the panning gainsChris Robinson2016-01-251-3/+4
|
* Don't overwrite the output with the dedicated effectChris Robinson2015-12-121-1/+1
|
* Pas the output device channel count to ALeffectState::processChris Robinson2014-11-071-3/+3
|
* Use a separate macro for the max output channel countChris Robinson2014-11-071-4/+4
|
* Set gains using the device channel indexChris Robinson2014-11-051-4/+6
|
* Add a helper to search for a channel index by nameChris Robinson2014-10-021-11/+7
|
* Make ComputeAngleGains use ComputeDirectionalGainsChris Robinson2014-10-021-7/+23
|
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Use a void* for the effect state Delete method paramChris Robinson2014-03-211-5/+2
|
* Use inline initialization for effect state factory vtablesChris Robinson2013-10-071-14/+6
|
* Constify the effect parameter of effect gettersChris Robinson2013-10-071-4/+4
|
* Use the UNUSED macro in the effectsChris Robinson2013-10-071-11/+7
|
* Use a macro for the silence thresholdChris Robinson2013-10-061-1/+1
|
* Use helpers to set channel gain arraysChris Robinson2013-10-031-3/+4
| | | | Also avoid unnecessary clearing.
* Fix up the naming convention of effect methodsChris Robinson2013-05-291-15/+15
|
* 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).
* Add helper macros to set an error and return, and use it in a few placesChris Robinson2013-05-261-10/+7
|
* Use an ALeffectProps union to store the effect propertiesChris Robinson2013-05-251-5/+7
|
* Use a Delete method for deletable objectsChris Robinson2013-05-251-9/+2
|
* Use vtables for setting effect propertiesChris Robinson2013-05-241-12/+14
|
* Move remaining effects to the effects subdirChris Robinson2013-05-231-0/+183