aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcReverb.c
Commit message (Collapse)AuthorAgeFilesLines
* Look for and use atan2f, log10f, and floorfChris Robinson2011-09-241-1/+1
|
* Use aluAtan instead of atanChris Robinson2011-09-241-1/+1
|
* Use macros for float-typed PI values, to avoid manual casts everywhereChris Robinson2011-09-221-2/+2
|
* Use cosf and sinf when availableChris Robinson2011-09-221-4/+4
| | | | Also clear away a few more MSVC precision warnings
* Remove the effect slot parameter from the effect process methodChris Robinson2011-09-121-4/+2
|
* Avoid accessing EAX-only reverb properties for non-EAX updatesChris Robinson2011-09-111-1/+2
|
* Remove the union from the effect parameter typesChris Robinson2011-09-111-24/+24
|
* Trace the reverb buffer sizeChris Robinson2011-09-021-0/+1
|
* Combine the reverb effectsChris Robinson2011-09-011-600/+525
| | | | | | | Updating and processing still differs depending on whether standard or EAX reverb is used or not. The only functional difference should be that the allocated buffer (and subsequent offsets) take into account the modulation and echo times.
* Rename minF/maxF/clampF to minf/maxf/clampf for consistencyChris Robinson2011-08-161-2/+2
|
* Use inline minF/maxF/clampF functions instead of the __min/__max macrosChris Robinson2011-08-161-8/+5
|
* Add an option to emulate EAX reverb using standard reverbChris Robinson2011-07-201-1/+4
|
* Add a config option to boost reverb outputChris Robinson2011-07-201-1/+9
|
* Scale reverb output based on the number of channelsChris Robinson2011-07-201-2/+7
| | | | | A scale of sqrt(2/numchannels) is used so the perceived volume matches as if it was stereo output, which seems to match other implementations.
* Simplify some reverb update calculationsChris Robinson2011-07-171-2/+2
|
* Apply the slot gain during the effect update methodChris Robinson2011-07-161-28/+32
|
* Pass the effect slot to the effect update methodChris Robinson2011-07-161-41/+48
|
* Get rid of a couple typedefsChris Robinson2011-07-021-3/+3
|
* Use a multi-dimensional array for the panning LUTChris Robinson2011-05-211-2/+2
|
* Store the separate effect parameters in a unionChris Robinson2011-05-201-37/+39
|
* Use lerp() in a couple more placesChris Robinson2011-05-181-2/+2
|
* Don't inline CalcLimitedHfRatioChris Robinson2011-02-071-1/+1
|
* Rename OUTPUTCHANNELS to something more descriptiveChris Robinson2010-12-011-11/+11
|
* Share the interpolation functions and use them in the reverb effectChris Robinson2010-11-261-14/+14
|
* Slightly improve channel gain calculationsChris Robinson2010-11-261-7/+6
|
* Fix early/late reverb panning, and only output reverb on available channelsChris Robinson2010-08-091-28/+48
|
* Scale output of effects to compensate for device down-mixingChris Robinson2010-05-121-2/+11
|
* Store the panning LUT in the deviceChris Robinson2010-04-081-1/+1
|
* use ALintptrEXT in alcReverb.cAlam Arias2010-03-181-2/+2
|
* Pass the context to alSetErrorChris Robinson2010-03-161-9/+0
|
* Use powf when availableChris Robinson2010-03-071-6/+6
|
* Use an inline function to calculate the low-pass filter coefficientChris Robinson2009-12-091-26/+5
|
* Fix typo for reverb creationChris Robinson2009-12-091-1/+1
|
* Make modulation index 0 map to offset 0Chris Robinson2009-11-231-1/+1
|
* The echo should not take energy-attenuated inputChris Robinson2009-11-221-13/+12
|
* Reorganize and improve the reverb effectChris Robinson2009-11-191-354/+895
| | | | | Code supplied by Christopher Fitzgerald. This update also implements the echo and modulation parameters.
* Move NextPowerOf2 to alMain.hChris Robinson2009-11-191-18/+0
|
* Move aluCart2LUTpos to alu.hChris Robinson2009-11-191-15/+0
|
* Clear the echo and delay lines even if the buffer doesn't change sizeChris Robinson2009-10-211-3/+3
|
* Remove the Frequency field from the contextChris Robinson2009-10-201-5/+6
|
* Add a method to update device-dependant effect parameters.Chris Robinson2009-10-201-57/+45
| | | | The effect state's update method will be called afterwards
* Be context-agnostic in the effect Create functionsChris Robinson2009-10-191-46/+105
| | | | | | | This allows the effect Update functions to handle the playback frequency being changed. By default the effects assume a maximum frequency of 192khz, however, it can go higher at the cost of the sample buffers being cleared and the risk of an abort() if reallocation fails
* Set an error if effect creation failsChris Robinson2009-05-311-0/+5
|
* Use the generic FILTER object for the master effect filterChris Robinson2009-05-301-17/+14
| | | | Also fix a couple comments
* Fixup panning gain calculationsChris Robinson2009-05-301-4/+22
| | | | | Clamp the panning vector magnitude to 1, and use an energy-reduction method as the vector magnitude increases (to simulate reverb area occlusion)
* Apply slot gain on slot output, not inputChris Robinson2009-05-291-31/+33
|
* Slot gain changes should have an immediate effectChris Robinson2009-05-291-4/+2
|
* Don't expose effect-specific structuresChris Robinson2009-05-291-137/+145
|
* Add preliminary support for the EAX Reverb effectChris Robinson2009-05-291-94/+214
| | | | | Not all parameters are supported yet, though it is a little more fuctional than standard reverb
* Set some common macros in alu.hChris Robinson2009-05-161-18/+1
|