Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check the absolute gain value for silence | Chris Robinson | 2014-10-31 | 1 | -1/+1 |
| | | | | | Future B-Format support will be using negative gains, which still need to be applied. | ||||
* | Combine the direct and send mixers | Chris Robinson | 2014-06-13 | 1 | -85/+26 |
| | |||||
* | Combine some dry and wet path types | Chris Robinson | 2014-06-13 | 1 | -9/+9 |
| | |||||
* | The lower value of the gain vector contains the closest target value | Chris Robinson | 2014-05-21 | 1 | -2/+2 |
| | |||||
* | Don't pass the SendParams to the wet-path mixer | Chris Robinson | 2014-05-18 | 1 | -8/+6 |
| | |||||
* | Don't pass the DirectParams to the dry-path mixer | Chris Robinson | 2014-05-18 | 1 | -7/+6 |
| | |||||
* | Pass some DirectParams as function parameters | Chris Robinson | 2014-05-18 | 1 | -4/+3 |
| | |||||
* | Use _mm_setr_ps instead of _mm_set_ps | Chris Robinson | 2014-05-18 | 1 | -4/+4 |
| | | | | | Apparently _mm_set_ps loads in reverse order compared to _mm_load_ps, so _mm_setr_ps should give what we really want. | ||||
* | Remove unnecessary ifdefs | Chris Robinson | 2014-05-04 | 1 | -2/+0 |
| | | | | | mixer_sse.c and mixer_neon.c are only compiled when the relavent headers are found anyway. | ||||
* | Always use the current gains when mixing | Chris Robinson | 2014-05-04 | 1 | -7/+8 |
| | | | | | | The current gain gets explicitly set to the target when the stepping is finished to ensure the target is still used. This way, however, will allow for asynchronously 'canceling' a fade by setting the counter to 0. | ||||
* | Make sure all gain steps are applied with the SSE and Neon mixers | Chris Robinson | 2014-05-03 | 1 | -12/+13 |
| | |||||
* | Use _mm_set_ps() to set an __m128 instead of {} | Chris Robinson | 2014-04-26 | 1 | -2/+2 |
| | |||||
* | Remove the click removal buffers for auxiliary effect slots | Chris Robinson | 2014-03-23 | 1 | -1/+1 |
| | |||||
* | Add gain stepping to the send mixers | Chris Robinson | 2014-03-23 | 1 | -23/+52 |
| | |||||
* | Remove the now-unneeded click removal buffers for the device | Chris Robinson | 2014-03-23 | 1 | -1/+1 |
| | | | | | | They are still there for auxiliary sends. However, they should go away soon enough too, and then we won't have to mess around with calculating extra "predictive" samples in the mixer. | ||||
* | Step mixing gains per-sample for non-HRTF mixing | Chris Robinson | 2014-03-23 | 1 | -15/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | This fades the dry mixing gains using a logarithmic curve, which should produce a smoother transition than a linear one. It functions similarly to a linear fade except that step = (target - current) / numsteps; ... gain += step; becomes step = powf(target / current, 1.0f / numsteps); ... gain *= step; where 'target' and 'current' are clamped to a lower bound that is greater than 0 (which makes no sense on a logarithmic scale). Consequently, the non-HRTF direct mixers do not do not feed into the click removal and pending click buffers, as this per-sample fading would do an adequate job of stopping clicks and pops caused by extreme gain changes. These buffers should be removed shortly. | ||||
* | Store the HrtfState directly in the DirectParams | Chris Robinson | 2014-03-23 | 1 | -2/+2 |
| | |||||
* | Use a union to combine HRTF and non-HRTF mixer params | Chris Robinson | 2014-03-19 | 1 | -1/+1 |
| | |||||
* | Revert "Apply HRTF coefficient stepping separately" | Chris Robinson | 2014-02-23 | 1 | -7/+53 |
| | | | | | | | | | This reverts commit 25b9c3d0c15e959d544f5d0ac7ea507ea5f6d69f. Conflicts: Alc/mixer_neon.c Unfortunately this also undoes the Neon-enhanced ApplyCoeffsStep method. | ||||
* | Apply HRTF coefficient stepping separately | Chris Robinson | 2013-11-10 | 1 | -53/+7 |
| | |||||
* | Use a macro for the silence threshold | Chris Robinson | 2013-10-06 | 1 | -2/+2 |
| | |||||
* | Don't store the effect slot in SendParams | Chris Robinson | 2013-10-06 | 1 | -16/+15 |
| | | | | This makes it much more like DirectParams. | ||||
* | Use a separate value for the maximum buffer channels | Chris Robinson | 2013-07-23 | 1 | -2/+2 |
| | | | | | | | Unlike the device, input buffers are accessed based on channel numbers instead of enums. This means the maximum number of channels they hold depends on the number of channels any one format can have, rather than the total number of recognized channels. Currently, this is 8 for 7.1. | ||||
* | Work around some problems with KDevelop's parser | Chris Robinson | 2013-06-18 | 1 | -0/+7 |
| | |||||
* | Use C99's inline instead of __inline | Chris Robinson | 2013-05-28 | 1 | -9/+9 |
| | |||||
* | Use restrict instead of RESTRICT | Chris Robinson | 2013-05-22 | 1 | -13/+13 |
| | |||||
* | Avoid an underflow in the SSE mixers if BufferSize is less than 4 | Chris Robinson | 2012-12-24 | 1 | -2/+2 |
| | |||||
* | Constify the direct and send parameters given to the mixer | Chris Robinson | 2012-10-15 | 1 | -3/+3 |
| | |||||
* | Remove the unused Device parameter | Chris Robinson | 2012-10-14 | 1 | -3/+1 |
| | |||||
* | Store the output buffers in the DirectParams struct | Chris Robinson | 2012-10-14 | 1 | -3/+4 |
| | |||||
* | Remove the now-unused Source parameter from the DryMix methods | Chris Robinson | 2012-10-14 | 1 | -2/+1 |
| | |||||
* | Combine multiple loops into one | Chris Robinson | 2012-09-24 | 1 | -34/+19 |
| | |||||
* | Avoid mixing silence to output | Chris Robinson | 2012-09-24 | 1 | -1/+11 |
| | | | | "Silence" being less than -100dB. | ||||
* | Remove SSE resamplers. They aren't gaining us much this way. | Chris Robinson | 2012-09-24 | 1 | -92/+0 |
| | |||||
* | Fix matrix multiply used by the SSE cubic resampler | Chris Robinson | 2012-09-18 | 1 | -63/+22 |
| | | | | Also remove the 4-sample loop. It's not terribly effective. | ||||
* | Explicitly give the wet buffer 1 channel | Chris Robinson | 2012-09-16 | 1 | -4/+4 |
| | |||||
* | Check the proper value for setting WetPendingClicks | Chris Robinson | 2012-09-16 | 1 | -1/+1 |
| | |||||
* | Avoid building redundant mixers | Chris Robinson | 2012-09-16 | 1 | -7/+5 |
| | |||||
* | Implement an SSE MixSend method | Chris Robinson | 2012-09-16 | 1 | -0/+29 |
| | |||||
* | Implement an SSE cubic resampler | Chris Robinson | 2012-09-14 | 1 | -0/+86 |
| | |||||
* | Implement an SSE linear resampler | Chris Robinson | 2012-09-14 | 1 | -0/+47 |
| | |||||
* | Minor cleanups for variable declarations | Chris Robinson | 2012-09-11 | 1 | -6/+3 |
| | |||||
* | Use a non-interleaved DryBuffer | Chris Robinson | 2012-09-11 | 1 | -26/+15 |
| | |||||
* | Do the filtering separately from the mixing | Chris Robinson | 2012-09-11 | 1 | -17/+5 |
| | |||||
* | Update HRTF code | Chris Robinson | 2012-09-11 | 1 | -23/+86 |
| | | | | | | | | | | | This update allows for much more flexibility in the HRTF data. It also allows for HRTF table file names to include "%r" to represent the device's playback rate (e.g. if you set hrtf-%r.mhr, then it will try to use hrtf-44100.mhr or hrtf-48000.mhr depending if the device's output rate is 44100 or 48000, respectively). The makehrtf utility has also been updated to support more options and input file formats, as well as the new mhr format. | ||||
* | Use the right method to clear a __m128 to 0 | Chris Robinson | 2012-09-09 | 1 | -2/+2 |
| | |||||
* | Use SSE to do 4 samples at once (non-HRTF direct mix), instead of to apply a ↵ | Chris Robinson | 2012-09-09 | 1 | -22/+43 |
| | | | | | | matrix row MaxCHannels no longer needs to be a multiple of 4 now, either. | ||||
* | Implement MixDirect_SSE separately from the C and Neon versions | Chris Robinson | 2012-09-09 | 1 | -0/+45 |
| | |||||
* | Separate the resampling and mixing steps | Chris Robinson | 2012-09-08 | 1 | -8/+0 |
| | |||||
* | Minor cleanups for mixer_inc | Chris Robinson | 2012-08-29 | 1 | -6/+6 |
| |