Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using realloc in a number of places | Chris Robinson | 2016-05-21 | 1 | -5/+7 |
| | |||||
* | Don't assume the "real" output buffer follows the dry buffer | Chris Robinson | 2016-05-17 | 1 | -15/+44 |
| | |||||
* | Improve reverb panning gains for "3D" output. | Chris Robinson | 2016-05-17 | 1 | -8/+8 |
| | |||||
* | Get rid of an unnecessary copy of ALeffectProps | Chris Robinson | 2016-05-13 | 1 | -3/+2 |
| | |||||
* | Hold the effect and filter maps while handling effects and filters | Chris Robinson | 2016-05-12 | 1 | -8/+0 |
| | |||||
* | Provide (mostly) lockless updates for effect slots | Chris Robinson | 2016-05-12 | 1 | -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 coefficients | Chris Robinson | 2016-04-24 | 1 | -6/+6 |
| | |||||
* | More directly map coefficients for ambisonic mixing buffers | Chris Robinson | 2016-04-15 | 1 | -14/+7 |
| | | | | | | 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 used | Chris Robinson | 2016-04-15 | 1 | -10/+14 |
| | |||||
* | Use the 3D panned output for reverb with HQ decoding | Chris Robinson | 2016-03-31 | 1 | -3/+3 |
| | | | | | | This is less than ideal, but matching each reverb line to a speaker with surround sound output is way too loud without the ambient volume scaling offered by the "direct" panning. | ||||
* | Add a workaround for a buggy modff | Chris Robinson | 2016-03-18 | 1 | -0/+15 |
| | |||||
* | Make sure enough reverb panning gains are defined | Chris Robinson | 2016-03-16 | 1 | -4/+4 |
| | |||||
* | Add a dual-band ambisonic decoder | Chris Robinson | 2016-03-15 | 1 | -8/+12 |
| | | | | | | | | | | This uses a virtual B-Format buffer for mixing, and then uses a dual-band decoder for improved positional quality. This currently only works with first- order output since first-order input (from the AL_EXT_BFROMAT extension) would not sound correct when fed through a second- or third-order decoder. This also does not currently implement near-field compensation since near-field rendering effects are not implemented. | ||||
* | Allocate enough reverb panning gains | Chris Robinson | 2016-03-10 | 1 | -2/+6 |
| | |||||
* | Organize the dry buffer properties into a struct | Chris Robinson | 2016-03-09 | 1 | -17/+20 |
| | |||||
* | Track the virtual and real output buffers ecplicitly | Chris Robinson | 2016-03-09 | 1 | -15/+21 |
| | |||||
* | Fix reverb with UHJ encoding | Chris Robinson | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | Use 2-channel UHJ for stereo output | Chris Robinson | 2016-02-26 | 1 | -6/+6 |
| | |||||
* | Remove a dead assignment | Chris Robinson | 2016-02-16 | 1 | -1/+0 |
| | |||||
* | Add special HRTF handling for reverb | Chris Robinson | 2016-02-06 | 1 | -1/+77 |
| | | | | | | | This is pretty hacky. Since HRTF normally renders to B-Format with two "extra" channels for the real stereo output, the panning interpolates between a panned reverb channel on B-Format, and two non-panned reverb channels on stereo output, given the panning vector length. | ||||
* | Only apply the +3dB reverb gain boost to the ambient response. | Chris Robinson | 2016-02-06 | 1 | -2/+1 |
| | |||||
* | Avoid an extra sample of delay in the reverb modulator | Chris Robinson | 2016-02-05 | 1 | -4/+6 |
| | |||||
* | Remove an unnecessary variable and move duplicate code to a common spot | Chris Robinson | 2016-02-05 | 1 | -37/+23 |
| | |||||
* | Don't explicitly check for LFE | Chris Robinson | 2016-02-05 | 1 | -16/+0 |
| | | | | It's going to be set to 0 gain anyway | ||||
* | Boost the direct-pan reverb to better match the expected volume | Chris Robinson | 2016-02-05 | 1 | -0/+2 |
| | | | | | Hopefully. Would be nice to have a reference implementation for this style of reverb to compare with. | ||||
* | Update a couple outdated comments | Chris Robinson | 2016-02-05 | 1 | -3/+1 |
| | |||||
* | Apply the early and late reverb gains with the panning gains | Chris Robinson | 2016-02-05 | 1 | -26/+28 |
| | |||||
* | Better organize the reverb code into separate labeled sections | Chris Robinson | 2016-02-05 | 1 | -425/+442 |
| | |||||
* | Separate early and late reverb output for standard reverb too | Chris Robinson | 2016-02-05 | 1 | -33/+27 |
| | |||||
* | Modify how the four output reverb points are calculated | Chris Robinson | 2016-02-05 | 1 | -40/+62 |
| | | | | | For HRTF and B-Format output, the points no longer move but instead scale based on the desired panning direction. | ||||
* | Try to map reverb outputs directly to output channels | Chris Robinson | 2016-02-01 | 1 | -2/+77 |
| | | | | | | | | | HRTF and B-Format output still need to use virtual panning directions, but the reverb works better when it outputs directly to an output channel. Ambient and directional panning is used to properly mask and attenuate each output channel. Note that currently the "direct panning" output is quieter than it should be. Work is underway to attenuate the early reflections and late reverb better. | ||||
* | Apply the main reverb gain with the panning | Chris Robinson | 2016-02-01 | 1 | -13/+12 |
| | |||||
* | Fix an out of date comment | Chris Robinson | 2016-01-31 | 1 | -4/+2 |
| | |||||
* | Pass a pointer to the input samples array for effect processing | Chris Robinson | 2016-01-27 | 1 | -3/+3 |
| | |||||
* | Separate calculating ambisonic coefficients from the panning gains | Chris Robinson | 2016-01-25 | 1 | -5/+14 |
| | |||||
* | Simplify reverb panning rotations | Chris Robinson | 2015-11-07 | 1 | -4/+4 |
| | |||||
* | Pan each early/late delay line separately | Chris Robinson | 2015-11-05 | 1 | -56/+70 |
| | |||||
* | Remove an unneeded memset that was overwriting memory | Chris Robinson | 2015-11-05 | 1 | -2/+0 |
| | |||||
* | Pass in the Q parameter for setting the filter parameters | Chris Robinson | 2015-11-01 | 1 | -2/+5 |
| | | | | Also better handle the peaking filter gain. | ||||
* | Use modff to split the modulation delay components | Chris Robinson | 2015-10-31 | 1 | -4/+3 |
| | |||||
* | Mix reverb to output in the inner loop | Chris Robinson | 2015-10-29 | 1 | -41/+39 |
| | |||||
* | Include the echo's attenuation of the late reverb in the late reverb gain | Chris Robinson | 2015-10-29 | 1 | -24/+29 |
| | |||||
* | Do up to 256 samples per reverb inner loop iteration | Chris Robinson | 2015-10-29 | 1 | -2/+3 |
| | |||||
* | Always update all reverb properties | Chris Robinson | 2015-10-28 | 1 | -68/+44 |
| | | | | | | The EAX-only effect properties will be set to compatible defaults when standard reverb is set, and the EAX-only effects will be skipped during sample processing. | ||||
* | Do multiple samples at once in each reverb component | Chris Robinson | 2015-10-28 | 1 | -245/+267 |
| | |||||
* | Rename F_2PI to F_TAU | Chris Robinson | 2015-09-13 | 1 | -2/+2 |
| | |||||
* | Improve ambient gain calculations | Chris Robinson | 2014-11-25 | 1 | -4/+4 |
| | |||||
* | Fix reverb panning direction | Chris Robinson | 2014-11-25 | 1 | -2/+2 |
| | |||||
* | Interpolate directional reverb gains with ambient based on vector length | Chris Robinson | 2014-11-15 | 1 | -4/+23 |
| | |||||
* | Pas the output device channel count to ALeffectState::process | Chris Robinson | 2014-11-07 | 1 | -10/+10 |
| |