aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/compressor.c
Commit message (Collapse)AuthorAgeFilesLines
* Construct error messages using parameterized valuesChris Robinson2018-01-251-11/+13
|
* Provide messages for the remaining AL errorsChris Robinson2018-01-241-22/+15
|
* Avoid using macros to access anonymous structuresChris Robinson2018-01-111-1/+1
|
* Pass the context to the auxiliary effect update methodChris Robinson2017-09-211-2/+3
|
* Change some ALuint parameters to ALsizeiChris Robinson2017-05-021-5/+5
|
* Use a predefined identity matrixChris Robinson2016-09-051-10/+2
|
* Add a ref count to ALeffectStateChris Robinson2016-08-251-11/+21
| | | | | This is mostly just reorganizing the effects to call the Construct method which initializes the ref count.
* Get rid of an unnecessary copy of ALeffectPropsChris Robinson2016-05-131-2/+2
|
* Provide (mostly) lockless updates for effect slotsChris Robinson2016-05-121-3/+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.
* More directly map coefficients for ambisonic mixing buffersChris Robinson2016-04-151-2/+2
| | | | | | 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.
* Include any first-order scaling in the FOAOut coefficientsChris Robinson2016-03-251-6/+4
|
* Add a specific output for first-order sourcesChris Robinson2016-03-221-1/+4
|
* Organize the dry buffer properties into a structChris Robinson2016-03-091-2/+2
|
* Rename ComputeBFormatGains to ComputeFirstOrderGainsChris Robinson2016-01-311-2/+2
|
* Make the compressor effect multichannelChris Robinson2016-01-281-25/+58
|
* Pass a pointer to the input samples array for effect processingChris Robinson2016-01-271-3/+3
|
* Separate calculating ambisonic coefficients from the panning gainsChris Robinson2016-01-251-2/+2
|
* Do up to 256 samples at a time with multi-step loopsChris Robinson2014-12-181-2/+2
|
* 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-2/+2
|
* Use a method to set omni-directional channel gainsChris Robinson2014-11-041-6/+3
|
* Avoid taking the square-root of the ambient gainChris Robinson2014-10-111-1/+1
| | | | | | Although it is more correct for preserving the apparent volume, the ambisonics- based panning does not work on the same power scale, making it louder by comparison.
* Combine some fields into a structChris Robinson2014-09-101-1/+1
|
* 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
|
* Fix some typesChris Robinson2014-02-071-2/+2
|
* Fix numeric constant type (double->float)Chris Robinson2013-12-081-2/+2
|
* Reimplement the compressor to work per-sampleChris Robinson2013-11-061-37/+51
|
* Use inline initialization for effect state factory vtablesChris Robinson2013-10-071-7/+6
|
* Constify the effect parameter of effect gettersChris Robinson2013-10-071-8/+4
|
* Use the UNUSED macro in the effectsChris Robinson2013-10-071-8/+6
|
* Use a macro for the silence thresholdChris Robinson2013-10-061-1/+1
|
* Implement the Compressor effectChris Robinson2013-10-031-0/+216