aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert ALu.c to C++Chris Robinson2018-11-161-1879/+0
| | | | Required changes to bsincgen to generate C++-friendly structures.
* Remove some unneeded includesChris Robinson2018-11-161-2/+0
|
* Move extern inline declarations to their own C sourceChris Robinson2018-11-141-63/+0
|
* Convert helpers.c to C++Chris Robinson2018-11-111-0/+16
|
* Convert panning.c to C++Chris Robinson2018-11-031-0/+5
|
* Fix some uses of RESTRICTChris Robinson2018-10-291-1/+1
|
* Replace restrict with RESTRICTChris Robinson2018-10-291-13/+13
|
* Update the output limiter/compressorChris Robinson2018-09-251-2/+1
| | | | | | | | | | This provides better characteristics for an amplitude limiter. In particular, it utilizes the peak amplitude instead of the RMS, and the used parameters basically guarantee no output samples exceed the given threshold... almost, due to floating-point errors as the threshold is converted from dB to log-e for the envelope, then is negated and converted to linear amplitude to apply to the signal. It's quite possible for some rounding errors to creep in and not perfectly saturate the result.
* Adjust comment spacingChris Robinson2018-09-211-1/+1
|
* Use an internal event to more timely release old effect statesChris Robinson2018-09-211-5/+33
|
* Put user events in a union structureChris Robinson2018-09-201-16/+14
|
* Remove another duplicate functionChris Robinson2018-09-191-9/+7
|
* Combine nearly-duplicate structuresChris Robinson2018-09-191-3/+3
|
* Remove a couple duplicate functionsChris Robinson2018-09-191-1/+1
|
* Add macros for commonly used square rootsChris Robinson2018-09-191-9/+7
|
* Handle the bsinc C resampler like the othersChris Robinson2018-09-171-1/+1
|
* Update a commentChris Robinson2018-08-311-1/+1
|
* Widen the plain stereo widthChris Robinson2018-08-291-2/+2
| | | | | | | | | | | Now full right and left is +-60 degrees instead of +-30. This should help create a smoother panning for a sound moving in front for plain stereo output (surround sound and HRTF are not changed). Multi-channel sources are also not affected by this change. The stereo channel defaults of +-pi/6 (30 degrees) still correspond to full left/right panning. This is an unfortuante discrepancy, but is necessary for AL_EXT_STEREO_ANGLES to work.
* Use a separate method to warp the azimuth for plain stereo outputChris Robinson2018-08-291-13/+14
|
* Use a macro to handle common case formattingChris Robinson2018-05-271-21/+10
|
* Avoid setting unnecessary variablesChris Robinson2018-05-261-10/+0
|
* Add some LIKELY and ASSUME statementsChris Robinson2018-05-231-1/+8
|
* Fix a function comment about a return valueChris Robinson2018-05-231-3/+1
|
* Remove unused functionChris Robinson2018-05-231-10/+0
|
* Further clarify a comment about float precisionChris Robinson2018-05-211-3/+3
|
* Add and use a method for fast float roundingChris Robinson2018-05-121-1/+1
| | | | | Unlike fastf2i, this keeps the result as a float instead of converting to integer.
* Don't assume round-to-zero for fastf2iChris Robinson2018-05-041-3/+3
|
* Add a specific function for truncating float-to-int conversionsChris Robinson2018-05-031-8/+3
|
* An output device buffer is likelyChris Robinson2018-04-291-1/+1
|
* Fix a comment about a float's mantissaChris Robinson2018-04-281-3/+4
|
* Change some if checks to asserts since they must be trueChris Robinson2018-04-221-14/+12
|
* Move the bnad-splitter filters to a separate sourceChris Robinson2018-04-211-0/+1
|
* Rename BiquadState to BiquadFilterChris Robinson2018-04-041-12/+12
|
* Apply the initial decay and air absorption after gain clampingChris Robinson2018-03-291-42/+42
|
* Pass the azimuth and elevation to CalcPanningAndFiltersChris Robinson2018-03-291-42/+32
|
* Check all buffers to update a source withChris Robinson2018-03-281-2/+5
|
* Condense an if checkChris Robinson2018-03-261-3/+2
|
* Clear mixing target parameters before setting themChris Robinson2018-03-251-70/+23
|
* Annotate the B-Format rotation/conversion matrixChris Robinson2018-03-251-7/+11
|
* Rename ALfilterState/Type to BiquadState/TypeChris Robinson2018-03-231-16/+16
|
* Move mixer sources into a sub-directoryChris Robinson2018-03-221-1/+1
|
* Apply a distance decay on the source send for the reverb's DecayLFRatioChris Robinson2018-03-111-2/+10
|
* Comment and clarify some codeChris Robinson2018-03-111-2/+10
|
* Rename UpdateContextSources for clarityChris Robinson2018-03-081-2/+2
|
* Don't check for space in the ringbuffer before trying to writeChris Robinson2018-03-031-7/+4
| | | | The write method already checks and returns how much it managed to fit in.
* Use atomic variables instead of volatileChris Robinson2018-03-021-2/+2
|
* Apply the limiter, distance comp, and others even with no output bufferChris Robinson2018-03-011-19/+20
|
* Handle source state change eventsChris Robinson2018-02-241-3/+48
|
* Combine multiple functions called sequentiallyChris Robinson2018-02-111-21/+9
|
* Don't asynchronously modify the source on disconnectChris Robinson2018-02-111-9/+1
|