Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More directly map coefficients for ambisonic mixing buffers | Chris Robinson | 2016-04-15 | 12 | -123/+126 |
| | | | | | | 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. | ||||
* | Update some comments | Chris Robinson | 2016-04-15 | 1 | -3/+3 |
| | |||||
* | Avoid mixing all coefficients together when only some are used | Chris Robinson | 2016-04-15 | 7 | -59/+75 |
| | |||||
* | Fix possible out-of-bounds warning | Chris Robinson | 2016-04-15 | 1 | -2/+2 |
| | |||||
* | Shorten VECTOR_ITER_ macros to VECTOR_ | Chris Robinson | 2016-04-15 | 9 | -65/+62 |
| | |||||
* | Avoid unnecessary loops for setting up effect slot b-format buffer mixing | Chris Robinson | 2016-04-14 | 2 | -24/+40 |
| | |||||
* | Prepare the custom decoder in aluInitRenderer | Chris Robinson | 2016-04-14 | 1 | -200/+193 |
| | |||||
* | Move the InitRenderer method to panning.c | Chris Robinson | 2016-04-14 | 2 | -184/+174 |
| | |||||
* | Separate some long if-else blocks into a separate function | Chris Robinson | 2016-04-14 | 1 | -164/+179 |
| | |||||
* | Split aluInitPanning into separate functions for HRTF or UHJ | Chris Robinson | 2016-04-14 | 3 | -249/+241 |
| | |||||
* | Improve error trace for bad matrix definitions | Chris Robinson | 2016-04-10 | 1 | -2/+2 |
| | |||||
* | Use frequency-dependent processing for the ambisonic up-sampler | Chris Robinson | 2016-04-09 | 1 | -3/+37 |
| | |||||
* | Avoid double slashes when constructing paths | Chris Robinson | 2016-04-07 | 1 | -3/+11 |
| | |||||
* | Use al_malloc/al_free for allocations | Chris Robinson | 2016-04-05 | 1 | -9/+7 |
| | |||||
* | Also disable ALSA's resampler when not requesting a sample rate | Chris Robinson | 2016-04-05 | 1 | -1/+4 |
| | |||||
* | Add a hack to workaround erroneous prebuf values from pulse | Chris Robinson | 2016-03-31 | 1 | -5/+28 |
| | |||||
* | 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. | ||||
* | Allow dual-band decoders for basic rendering | Chris Robinson | 2016-03-30 | 1 | -8/+2 |
| | | | | | Since the basic renderer does not do frequency-dependent processing, the high- frequency matrix is used for panning. | ||||
* | Properly make hq-mode default to off | Chris Robinson | 2016-03-30 | 1 | -1/+1 |
| | |||||
* | Remove the old ringbuffer implementation | Chris Robinson | 2016-03-30 | 1 | -101/+0 |
| | |||||
* | Convert remaining ringbuffers to the lockless variant | Chris Robinson | 2016-03-29 | 5 | -70/+74 |
| | |||||
* | Move the aligned malloc functions to the common lib | Chris Robinson | 2016-03-29 | 4 | -50/+3 |
| | |||||
* | Skip unused output channels for the HQ decode | Chris Robinson | 2016-03-28 | 1 | -0/+13 |
| | |||||
* | Align the ChannelMix buffer and use it for up-sampling | Chris Robinson | 2016-03-27 | 1 | -9/+9 |
| | |||||
* | Use the same option for decoder configs | Chris Robinson | 2016-03-26 | 1 | -1/+5 |
| | |||||
* | Don't use custom decoder configurations with mono or stereo | Chris Robinson | 2016-03-26 | 1 | -0/+13 |
| | | | | | | | | | | By default, stereo outputs using UHJ, which renders to a B-Format buffer that gets run through a UHJ encoder for output. It may also output using pair-wise panning, which pans between -30 and +30 degrees with the speakers at the two ends. In both cases, the stereo coefficients are ignored. Mono, having only one output channel, can realistically only attenuate its channel. Turning the volume up and down accomplishes the same result. | ||||
* | Include the distance gain compensation in the decoder matrix | Chris Robinson | 2016-03-26 | 1 | -56/+56 |
| | |||||
* | Add a config option for distance compensation | Chris Robinson | 2016-03-26 | 3 | -5/+15 |
| | |||||
* | Add distance compensation to the HQ decoder | Chris Robinson | 2016-03-26 | 1 | -4/+107 |
| | | | | | | This only compensates for timing and gain differences caused by differences in the physical speaker distances. It's not near-field compensation. This also relies on having proper distance values defined in the ambdec definition file. | ||||
* | Allow up to third-order for horizontal-only rendering | Chris Robinson | 2016-03-26 | 1 | -16/+26 |
| | |||||
* | Include any first-order scaling in the FOAOut coefficients | Chris Robinson | 2016-03-25 | 6 | -45/+46 |
| | |||||
* | Skip height-related ambisonic channels for 2D rendering | Chris Robinson | 2016-03-25 | 2 | -19/+94 |
| | |||||
* | Mix Dedicated effects to the real output if possible | Chris Robinson | 2016-03-25 | 1 | -6/+21 |
| | |||||
* | Implement AL_EXT_STEREO_ANGLES support | Chris Robinson | 2016-03-25 | 2 | -7/+14 |
| | |||||
* | Use the "decoder" config section instead of "ambisonics" | Chris Robinson | 2016-03-25 | 2 | -2/+2 |
| | |||||
* | Add a cast and a couple float type fixes | Chris Robinson | 2016-03-24 | 2 | -3/+3 |
| | |||||
* | Trace the HQ decoder order | Chris Robinson | 2016-03-23 | 1 | -1/+4 |
| | |||||
* | Simplify setting a custom channel map configuration | Chris Robinson | 2016-03-23 | 1 | -17/+7 |
| | |||||
* | Up-sample first-order content when using a higher order HQ decoder | Chris Robinson | 2016-03-23 | 4 | -2/+101 |
| | |||||
* | Allow second-order HQ decoding | Chris Robinson | 2016-03-23 | 1 | -9/+21 |
| | | | | | | | | Could really do with some optimizations to the mixing gain calculations. For ambisonic targets, the coefficients will only have 1 non-0 entry for each output, so the double loop in unnecessarily wasteful. Similarly, most uses won't need a full height encoding either, so a horizontal-only or mixed-order target could reduce the number of channels. | ||||
* | Add a specific output for first-order sources | Chris Robinson | 2016-03-22 | 8 | -5/+53 |
| | |||||
* | Simplify setting the matrix coeffs | Chris Robinson | 2016-03-22 | 1 | -42/+14 |
| | |||||
* | Add a workaround for a buggy modff | Chris Robinson | 2016-03-18 | 1 | -0/+15 |
| | |||||
* | Store the effect's output buffer in the effect state | Chris Robinson | 2016-03-17 | 2 | -6/+11 |
| | |||||
* | Make sure enough reverb panning gains are defined | Chris Robinson | 2016-03-16 | 1 | -4/+4 |
| | |||||
* | Rename the BFormat channels to Aux | Chris Robinson | 2016-03-16 | 2 | -24/+24 |
| | |||||
* | Add config options to enable the hq ambisonic decoder | Chris Robinson | 2016-03-16 | 2 | -37/+58 |
| | |||||
* | Properly handle negative matrix values and fix decoder initialization | Chris Robinson | 2016-03-15 | 2 | -2/+2 |
| | |||||
* | Replace the custom layout options with an ambdec loader | Chris Robinson | 2016-03-15 | 1 | -129/+87 |
| | | | | | The ambisonic layout options were never very good for clarity or flexibility. Hopefully using ambdec files will prove to be better. | ||||
* | Rename a couple functions for more informative logging | Chris Robinson | 2016-03-15 | 1 | -9/+10 |
| |