Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a step counter for gain stepping | Chris Robinson | 2018-05-14 | 4 | -76/+100 |
| | | | | | This should provide more stable stepping, preventing floating-point errors from accumulating on each step/sample. | ||||
* | Add a faster double-to-int converter for x87 builds | Chris Robinson | 2018-05-14 | 1 | -1/+25 |
| | |||||
* | Use more accurate elevations for virtual HRTF speaker positions | Chris Robinson | 2018-05-14 | 1 | -8/+8 |
| | |||||
* | Use fastf2i instead of manually rounding with float2int | Chris Robinson | 2018-05-12 | 1 | -4/+4 |
| | |||||
* | Add and use a method for fast float rounding | Chris Robinson | 2018-05-12 | 2 | -1/+2 |
| | | | | | Unlike fastf2i, this keeps the result as a float instead of converting to integer. | ||||
* | Simplify calculating the HRTF B-Format IR length | Chris Robinson | 2018-05-04 | 1 | -19/+19 |
| | |||||
* | Don't assume the FPU is round-to-zero in the pitch shifter | Chris Robinson | 2018-05-04 | 1 | -21/+3 |
| | |||||
* | Don't assume round-to-zero for fastf2i | Chris Robinson | 2018-05-04 | 3 | -58/+18 |
| | |||||
* | Add a specific function for truncating float-to-int conversions | Chris Robinson | 2018-05-03 | 7 | -40/+33 |
| | |||||
* | Avoid fastf2i in the converter init | Chris Robinson | 2018-05-03 | 1 | -1/+2 |
| | |||||
* | Use a fixed-point scale for the pitch shifter frequency index | Chris Robinson | 2018-05-03 | 1 | -5/+10 |
| | |||||
* | Avoid excessive if block depths | Chris Robinson | 2018-05-02 | 1 | -12/+6 |
| | |||||
* | Avoid duplication for getting the cpuid | Chris Robinson | 2018-05-02 | 1 | -55/+24 |
| | |||||
* | Pass in the number of channels per order to InitNearFieldCtrl | Chris Robinson | 2018-05-01 | 1 | -26/+14 |
| | |||||
* | An output device buffer is likely | Chris Robinson | 2018-04-29 | 1 | -1/+1 |
| | |||||
* | Avoid potentially calling log10f(0) | Chris Robinson | 2018-04-29 | 1 | -1/+1 |
| | |||||
* | Rename some struct members for clarity | Chris Robinson | 2018-04-28 | 2 | -77/+77 |
| | |||||
* | Fix a comment about a float's mantissa | Chris Robinson | 2018-04-28 | 1 | -3/+4 |
| | |||||
* | Remove some unnecessary floor calls | Chris Robinson | 2018-04-28 | 1 | -4/+2 |
| | |||||
* | Increase the band-split IR for decoding ambisonics to HRTF | Chris Robinson | 2018-04-27 | 1 | -8/+16 |
| | |||||
* | Rename some variables for clarity | Chris Robinson | 2018-04-27 | 1 | -31/+29 |
| | |||||
* | Transpose the band-splitter all-pass section | Chris Robinson | 2018-04-26 | 1 | -9/+11 |
| | |||||
* | Use doubles for the pitch shifter's FFTs and processing | Chris Robinson | 2018-04-24 | 1 | -43/+68 |
| | |||||
* | Don't specialize biquad processing for a single sample | Chris Robinson | 2018-04-24 | 1 | -37/+28 |
| | |||||
* | Use transposed direct form 2 for the UHJ all-pass filters | Chris Robinson | 2018-04-22 | 2 | -17/+17 |
| | | | | | This has one extra multiply, but avoids two moves and uses almost half as much memory for the encoder state. | ||||
* | Pre-calculate the squares of the UHJ filter coefficients | Chris Robinson | 2018-04-22 | 1 | -53/+31 |
| | |||||
* | Change some if checks to asserts since they must be true | Chris Robinson | 2018-04-22 | 1 | -14/+12 |
| | |||||
* | Move the bnad-splitter filters to a separate source | Chris Robinson | 2018-04-21 | 7 | -136/+151 |
| | |||||
* | Add some more ASSUME statements | Chris Robinson | 2018-04-21 | 4 | -0/+7 |
| | |||||
* | Adjust the stereo panning front gain | Chris Robinson | 2018-04-19 | 1 | -2/+2 |
| | | | | This gives it a (more) precise -4.5dB gain drop for front-center panned sounds. | ||||
* | Remove unnecessary undefs | Chris Robinson | 2018-04-19 | 3 | -3/+0 |
| | |||||
* | Clear ALSA's PCM handle after closing it | Chris Robinson | 2018-04-19 | 1 | -0/+1 |
| | |||||
* | Add some ASSUME statements that ensure mixing at least 1 sample | Chris Robinson | 2018-04-18 | 6 | -0/+25 |
| | |||||
* | Add an ASSUME macro that requires a true condition | Chris Robinson | 2018-04-17 | 3 | -0/+6 |
| | |||||
* | Accumulate the B-Format HRTF responses using doubles | Chris Robinson | 2018-04-17 | 1 | -9/+24 |
| | | | | | The final result is still truncated to single-precision float, but this should keep the responses more stable as it accumulates the various inputs. | ||||
* | Don't minimize the HRTF per-response delay | Chris Robinson | 2018-04-16 | 2 | -11/+7 |
| | | | | | | The reverts both fa9ab9af7cb559ff9ecc1846f2996265bfbea1ec and 79604c3c0e0f3f71832a09348cc273a38882cc3e. As helpful as it was for the high frequencies, the overall response's gain suffered. | ||||
* | Rename BiquadState to BiquadFilter | Chris Robinson | 2018-04-04 | 9 | -79/+78 |
| | |||||
* | Apply biquad and T60 filters using transposed direct form II | Chris Robinson | 2018-04-03 | 5 | -74/+62 |
| | |||||
* | Initialize COM using the multithreaded apartment | Chris Robinson | 2018-04-01 | 1 | -7/+7 |
| | | | | | | | I honestly have no idea which is the correct (or better) mode to use given the confusing mess COM is, but CoInitialize uses single-threaded apartments which seems to be a problem for with at least a couple games in the STALKER series (the call fails, which causes us to drop back to the DSound backend). | ||||
* | Limit the near-field control distance to 10m. | Chris Robinson | 2018-03-31 | 1 | -2/+2 |
| | |||||
* | Fix HRTF HOA coefficients | Chris Robinson | 2018-03-31 | 1 | -21/+37 |
| | | | | | | ACN8 was accidentally put on ACN7. However, rather than adding the missing channel of silence, set up the coefficient map to only use the ambisonic channels that can contribute to output. | ||||
* | Apply the initial decay and air absorption after gain clamping | Chris Robinson | 2018-03-29 | 1 | -42/+42 |
| | |||||
* | Pass the azimuth and elevation to CalcPanningAndFilters | Chris Robinson | 2018-03-29 | 1 | -42/+32 |
| | |||||
* | Combine two loops | Chris Robinson | 2018-03-29 | 1 | -27/+25 |
| | |||||
* | Check all buffers to update a source with | Chris Robinson | 2018-03-28 | 1 | -2/+5 |
| | |||||
* | Store the ALbufferlistitem's composited/max sample length | Chris Robinson | 2018-03-27 | 1 | -26/+6 |
| | |||||
* | Rename NfcFilterUpdate* to NfcFilterProcess* for consistency | Chris Robinson | 2018-03-27 | 3 | -8/+8 |
| | |||||
* | Condense an if check | Chris Robinson | 2018-03-26 | 1 | -3/+2 |
| | |||||
* | Clear mixing target parameters before setting them | Chris Robinson | 2018-03-25 | 1 | -70/+23 |
| | |||||
* | Reduce the gain of front-panned sounds with plain stereo | Chris Robinson | 2018-03-25 | 1 | -2/+2 |
| | | | | | | Now front-center sounds are attenuated by roughly -4.5dB instead of -3dB. This will help keep rear-panned sounds from attenuating too much while not making front-panned also attenuate too much. |