Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SSE2 and SSE4.1 cubic resamplers | Chris Robinson | 2014-12-15 | 1 | -0/+5 |
| | |||||
* | Partially revert "Use a different method for HRTF mixing" | Chris Robinson | 2014-11-23 | 1 | -6/+9 |
| | | | | | | | | | | | | The sound localization with virtual channel mixing was just too poor, so while it's more costly to do per-source HRTF mixing, it's unavoidable if you want good localization. This is only partially reverted because having the virtual channel is still beneficial, particularly with B-Format rendering and effect mixing which otherwise skip HRTF processing. As before, the number of virtual channels can potentially be customized, specifying more or less channels depending on the system's needs. | ||||
* | Use a different method for HRTF mixing | Chris Robinson | 2014-11-22 | 1 | -9/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | This new method mixes sources normally into a 14-channel buffer with the channels placed all around the listener. HRTF is then applied to the channels given their positions and written to a 2-channel buffer, which gets written out to the device. This method has the benefit that HRTF processing becomes more scalable. The costly HRTF filters are applied to the 14-channel buffer after the mix is done, turning it into a post-process with a fixed overhead. Mixing sources is done with normal non-HRTF methods, so increasing the number of playing sources only incurs normal mixing costs. Another benefit is that it improves B-Format playback since the soundfield gets mixed into speakers covering all three dimensions, which then get filtered based on their locations. The main downside to this is that the spatial resolution of the HRTF dataset does not play a big role anymore. However, the hope is that with ambisonics- based panning, the perceptual position of panned sounds will still be good. It is also an option to increase the number of virtual channels for systems that can handle it, or maybe even decrease it for weaker systems. | ||||
* | Combine the direct and send mixers | Chris Robinson | 2014-06-13 | 1 | -27/+15 |
| | |||||
* | Combine some dry and wet path types | Chris Robinson | 2014-06-13 | 1 | -4/+3 |
| | |||||
* | Move InitiatePositionArrays to mixer_defs.h | Chris Robinson | 2014-06-06 | 1 | -0/+15 |
| | |||||
* | Add SSE2 and SSE4.1 linear resamplers | Timothy Arceri | 2014-06-06 | 1 | -0/+6 |
| | | | | | Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities. | ||||
* | Return a sample pointer from resamplers | Chris Robinson | 2014-05-19 | 1 | -4/+4 |
| | | | | Both resampling and filtering now avoid copying samples when they no-op. | ||||
* | Move an HRTF mixer parameter and shorten a couple variable names | Chris Robinson | 2014-05-18 | 1 | -6/+6 |
| | |||||
* | Don't pass the SendParams to the wet-path mixer | Chris Robinson | 2014-05-18 | 1 | -5/+10 |
| | |||||
* | Don't pass the DirectParams to the dry-path mixer | Chris Robinson | 2014-05-18 | 1 | -10/+11 |
| | |||||
* | Use different parameters for HRTF mixers | Chris Robinson | 2014-05-18 | 1 | -9/+15 |
| | |||||
* | Pass some DirectParams as function parameters | Chris Robinson | 2014-05-18 | 1 | -6/+18 |
| | |||||
* | Remove the click removal buffers for auxiliary effect slots | Chris Robinson | 2014-03-23 | 1 | -3/+3 |
| | |||||
* | Remove the now-unneeded click removal buffers for the device | Chris Robinson | 2014-03-23 | 1 | -6/+6 |
| | | | | | | 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. | ||||
* | Store the HrtfState directly in the DirectParams | Chris Robinson | 2014-03-23 | 1 | -9/+9 |
| | |||||
* | Implement dry and wet mixers for Neon | Chris Robinson | 2014-01-26 | 1 | -0/+2 |
| | | | | Code provided by Philippe Simons <[email protected]>. | ||||
* | Use restrict instead of RESTRICT | Chris Robinson | 2013-05-22 | 1 | -11/+11 |
| | |||||
* | Constify the direct and send parameters given to the mixer | Chris Robinson | 2012-10-15 | 1 | -7/+7 |
| | |||||
* | Remove the unused Device parameter | Chris Robinson | 2012-10-14 | 1 | -5/+5 |
| | |||||
* | Remove the now-unused Source parameter from the DryMix methods | Chris Robinson | 2012-10-14 | 1 | -6/+5 |
| | |||||
* | Add a special resampler for matching sample rates | Chris Robinson | 2012-10-05 | 1 | -0/+1 |
| | |||||
* | Remove an unneeded parameter from the resampler | Chris Robinson | 2012-09-27 | 1 | -3/+3 |
| | |||||
* | Remove an unnecessary include | Chris Robinson | 2012-09-24 | 1 | -1/+0 |
| | |||||
* | Remove SSE resamplers. They aren't gaining us much this way. | Chris Robinson | 2012-09-24 | 1 | -4/+0 |
| | |||||
* | Avoid building redundant mixers | Chris Robinson | 2012-09-16 | 1 | -2/+0 |
| | |||||
* | Implement an SSE cubic resampler | Chris Robinson | 2012-09-14 | 1 | -0/+1 |
| | |||||
* | Implement an SSE linear resampler | Chris Robinson | 2012-09-14 | 1 | -0/+3 |
| | |||||
* | Use a source param for the resampler and move them to the mixer source | Chris Robinson | 2012-09-14 | 1 | -0/+6 |
| | |||||
* | Do the filtering separately from the mixing | Chris Robinson | 2012-09-11 | 1 | -3/+3 |
| | |||||
* | Move the target effect slot to the SendParams struct | Chris Robinson | 2012-09-08 | 1 | -3/+3 |
| | |||||
* | Separate the resampling and mixing steps | Chris Robinson | 2012-09-08 | 1 | -41/+9 |
| | |||||
* | Move mixers into separate source files | Chris Robinson | 2012-08-15 | 1 | -0/+60 |