aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Ensure the chorus delay and depth leave enough padding for resamplingChris Robinson2018-01-072-14/+26
| | | | Also use cubic resampling for the modulated tap. Applies to flanger too.
* Use a separate function to get the cubic valueChris Robinson2018-01-072-9/+2
|
* Remove the sinc4 tableChris Robinson2018-01-071-5/+0
|
* Replace the sinc4 resampler with cubicChris Robinson2018-01-077-290/+21
| | | | | | | Turns out the C version of the cubic resampler is just slightly faster than even the SSE3 version of the FIR4 resampler. This is likely due to not using a 64KB random-access lookup table along with unaligned loads, both offseting the gains from SSE.
* Test the correct offset for the loop start rangeChris Robinson2018-01-041-1/+1
|
* Use the correct start point when loopingChris Robinson2018-01-041-2/+2
|
* Use separate outputs for the vector reverse and scatter functionsChris Robinson2018-01-041-29/+23
|
* Avoid the modulated output tap for late reverbChris Robinson2018-01-041-28/+14
| | | | | | And fix the output filtering. The modulation code is still there since it's (probably) technically correct, but the interaction with the feedback loop and filtering on the output caused improper behavior which needs to be sorted out.
* Don't offset the reverb modulation sinusChris Robinson2018-01-021-1/+1
|
* Use a float literal for float mathChris Robinson2018-01-021-2/+2
|
* Reset CompLen when loading loop repeats in the mixerChris Robinson2018-01-021-0/+1
|
* Avoid dereferencing a NULL pointerChris Robinson2017-12-311-1/+2
| | | | | | Even though it's taking the address of a member, it's still technically a derefernce and thus undefined behavior. sizeof doesn't "execute" the expression, so derefering in it instead is fine.
* Update resampler padding checksChris Robinson2017-12-291-3/+3
|
* Fix up a commentChris Robinson2017-12-241-7/+5
|
* Don't make a pass-through macro for FadedDelayLineOutChris Robinson2017-12-241-8/+7
|
* Use linear interpolation for reverb modulationChris Robinson2017-12-241-76/+130
| | | | | | The core LateReverb_* functions are explicitly written out now, since the tapping and blending done by the Faded version is a bit more complex and it's not so easy to ensure proper optimizing on the Unfaded version.
* Don't offset the chorus/flanger delay and LFOChris Robinson2017-12-242-36/+22
| | | | | The delay being added to the scaled LFO will ensure a proper positive result regardless.
* Fade between depths in the reverb modulatorChris Robinson2017-12-241-48/+26
|
* Use a separate unmodulated feedback tap for reverbChris Robinson2017-12-241-18/+20
|
* Clarify some reverb valuesChris Robinson2017-12-231-7/+6
|
* Reorder some global variablesChris Robinson2017-12-231-188/+188
|
* Cleanup reverb modulation scalingChris Robinson2017-12-231-14/+17
|
* Add missing integer queriesChris Robinson2017-12-211-23/+65
|
* Fix the lfo_offset for a 0-rate flangerChris Robinson2017-12-191-1/+1
|
* Use MixSamples for the echo outputChris Robinson2017-12-191-30/+20
|
* Update the chorus and flanger state struct less oftenChris Robinson2017-12-192-8/+8
|
* Make the echo effect only apply feedback to repeated samplesChris Robinson2017-12-191-11/+16
|
* Fade gains in the chorus and flanger outputChris Robinson2017-12-192-16/+20
|
* Use a single delay line for chorus feedback on a fixed tapChris Robinson2017-12-182-92/+118
| | | | | | The outputs themselves use a variale-delay tap, but using a separate fixed- delay tap on the feedback helps improve the perceived "wobble" with sustained notes. This also applies to the flanger effect.
* Apply chorus and flanger feedback on the tapped re-feedChris Robinson2017-12-172-6/+6
|
* Use the selected mixer for chorus and flanger outputChris Robinson2017-12-172-50/+22
|
* Make MixSamples non-static globalChris Robinson2017-12-172-4/+2
|
* Fix some types to make MSVC happyChris Robinson2017-12-172-6/+6
|
* Mix multiple buffers in each buffer list itemChris Robinson2017-12-161-64/+112
| | | | Basically now this just relies on being able to specify composited buffers.
* Pre-clear the source temp buffer and accumulate into itChris Robinson2017-12-161-18/+7
|
* Rename SrcDataSize to be less confusingChris Robinson2017-12-161-25/+23
|
* Allow storing multiple buffers in a ALbufferlistitemChris Robinson2017-12-152-4/+8
| | | | | | | | | | | | | | | This will be to allow buffer layering, multiple buffers of the same format and sample rate that are mixed together prior to resampling, filtering, and panning. This will allow composing sounds from individual components that can be swapped around on different invocations (e.g. layer SoundA and SoundB on one instance and SoundA and SoundC on a different instance for a slightly different sound, then just SoundA for a third instance, and so on). The longest buffer within the list item determines the length of the list item. More work needs to be done to fully support it, namely the ability to specity multiple buffers to layer for static and streaming sources. Also the behavior of loop points for layered static sources should be worked out. Should also consider allowing each layer to have a sample offset.
* Update flanger with the same changes as chorusChris Robinson2017-12-151-44/+55
|
* Use a separate LFO offset in the chorus effectChris Robinson2017-12-151-10/+19
| | | | | Given that the LFO range is not a power-of-two, it won't correctly wrap on overflow.
* Use linear interpolation for the chorus delay outputChris Robinson2017-12-151-37/+39
|
* It's getFactory that may be NULL, not its return value...Chris Robinson2017-11-261-3/+4
|
* Don't probe a NULL backend factoryChris Robinson2017-11-261-2/+2
|
* Properly initialize with the default distance modelChris Robinson2017-10-291-6/+3
|
* Enable NFC filters for HRTFChris Robinson2017-10-231-0/+2
| | | | Only applies to the Ambisonic mix (basic HRTF rendering, or B-Format buffers).
* Store the HRTF distance in the Hrtf handleChris Robinson2017-10-232-8/+13
|
* Update mhr format for 24-bit, multi-field, stereo measurementsChris Robinson2017-10-221-44/+83
| | | | | Currently only single field HRTFs are supported, but the format now allows up to 16.
* Add casts for assigning the SSE bsinc filter pointersChris Robinson2017-10-071-4/+4
|
* Avoid a separate function to query ambisonic mode supportChris Robinson2017-09-271-26/+10
| | | | | | Now FuMa and ACN channel orders are required, as are FuMa, SN3D, and N3D normalization schemes. An integer query (alcGetIntegerv) is added for the maximum ambisonic order.
* Re-update effect slots when context properties changeChris Robinson2017-09-272-78/+91
| | | | | Also keep all free property update structs together in the context instead of per-object.
* Don't update context and listener props unnecessarilyChris Robinson2017-09-271-2/+9
|