Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement a 6-point sinc-lanczos filter | Chris Robinson | 2015-09-29 | 3 | -2/+14 |
| | |||||
* | Replace the cubic resampler with a 4-point sinc/lanczos filter | Chris Robinson | 2015-09-27 | 3 | -6/+6 |
| | |||||
* | Don't keep selecting the mixer to use | Chris Robinson | 2015-09-27 | 3 | -5/+1 |
| | |||||
* | Increase the max pitch to 255 | Chris Robinson | 2015-09-26 | 1 | -1/+1 |
| | | | | | | | Note that this is the multiple above the device sample rate, rather than the source property limit. It could theoretically be increased to 511 by testing against UINT_MAX instead of INT_MAX, since the increment and positions are using unsigned integers. I'm just being paranoid about overflows. | ||||
* | Use a single enum list for source properties | Chris Robinson | 2015-09-22 | 1 | -346/+416 |
| | |||||
* | Avoid a potential race condition with NewThunkEntry | Chris Robinson | 2015-09-21 | 1 | -0/+13 |
| | | | | | | It's possible for another invocation to increase the array size in between the ReadUnlock and WriteLock calls, causing the 'i' index to refer to a taken entry. | ||||
* | Handle up to 6 values with alSourcedvSOFT and alGetSourcefv | Chris Robinson | 2015-09-21 | 1 | -4/+4 |
| | |||||
* | Get rid of ALCdevice_GetLatency | Chris Robinson | 2015-09-21 | 2 | -3/+6 |
| | |||||
* | Fix updating listener params when forcing updates | Chris Robinson | 2015-09-18 | 1 | -0/+2 |
| | |||||
* | Use sizeof T for the size of the object type | Chris Robinson | 2015-09-15 | 1 | -5/+5 |
| | |||||
* | Rename F_2PI to F_TAU | Chris Robinson | 2015-09-13 | 2 | -2/+2 |
| | |||||
* | Set both BS2B parameters at once | Chris Robinson | 2015-09-08 | 1 | -7/+4 |
| | |||||
* | Don't store the HRTF request mode in the device flags | Chris Robinson | 2015-09-05 | 1 | -8/+1 |
| | |||||
* | Allow for device-specific config values | Chris Robinson | 2015-08-28 | 2 | -9/+9 |
| | |||||
* | Use ACN ordering for ambisonics coefficients arrays | Chris Robinson | 2015-08-28 | 1 | -4/+4 |
| | | | | | | Note that it still uses FuMa scalings internally. Coefficients loaded from config files specify if they're FuMa (in both ordering and scaling) or N3D, and will get reordered or rescaled as needed. | ||||
* | Don't explicitly store first-order coefficients | Chris Robinson | 2015-08-18 | 1 | -5/+3 |
| | | | | | | | It seems a simple scaling on the coefficients will allow first-order content to work with second- and third-order coefficients, although obviously not with any improved locality. That may be something to look into for the future, but this is good enough for now. | ||||
* | Allow specifying ALC_DONT_CARE_SOFT for ALC_HRTF_SOFT | Chris Robinson | 2015-07-06 | 1 | -2/+8 |
| | | | | | ALC_FALSE now indicates explicitly no HRTF mixing, while ALC_DONT_CARE_SOFT is autodetect. | ||||
* | Update a couple comments | Chris Robinson | 2015-07-04 | 1 | -1/+1 |
| | |||||
* | Add a macro to simplify allocating and constructing an object | Chris Robinson | 2015-05-18 | 1 | -0/+12 |
| | |||||
* | Convert the solaris backend to the new API | Chris Robinson | 2015-05-17 | 1 | -3/+0 |
| | |||||
* | Add a method to reset the device | Chris Robinson | 2015-05-16 | 1 | -0/+4 |
| | | | | | | | This basically acts as if the app created a new context with the specified attributes (causing the device to reset with new parameters), then immediately delete it. Existing contexts remain undisturbed, except for a temporary pause while the device output is reconfigured. | ||||
* | Add a few more HRTF status values | Chris Robinson | 2015-05-16 | 1 | -1/+4 |
| | | | | | | | | | DISABLED - Generic disabled status ENABLED - Generic enabled status DENIED - Not allowed (user has configured HRTF to be off) REQUIRED - Forced (user has forced HRTF to be used) HEADPHONES_DETECTED - Enabled because headphones were detected UNSUPPORTED_FORMAT - Device format is not compatible with available filters | ||||
* | Add an HRTF status query | Chris Robinson | 2015-05-15 | 1 | -0/+5 |
| | | | | | This can report the status of HRTF, specifying if it's enabled or not and why (currently only reports unsupported formats, but this may be extended). | ||||
* | Add an option for "basic" HRTF rendering | Chris Robinson | 2015-02-11 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | This method is intended to help development by easily testing the quality of the B-Format encode and B-Format-to-HRTF decode. When used with HRTF, all sources are renderer using the virtual B-Format output, rather than just B-Format sources. Despite the CPU cost savings (only four channels need to be filtered with HRTF, while sources all render normally), the spatial acuity offered by the B-Format output is pretty poor since it's only first-order ambisonics, so "full" HRTF rendering is definitely preferred. It's /possible/ for some systems to be edge cases that prefer the CPU cost savings provided by basic over the sharper localization provided by full, and you do still get 3D positional cues, but this is unlikely to be an actual use- case in practice. | ||||
* | Move HRTF params and state closer together | Chris Robinson | 2015-02-09 | 2 | -6/+6 |
| | |||||
* | Avoid unnecessary uses of ExchangeInt/Ptr | Chris Robinson | 2015-02-04 | 1 | -9/+9 |
| | |||||
* | Fix high-pass coefficients | Chris Robinson | 2015-01-13 | 1 | -6/+6 |
| | |||||
* | Add missing alignas to CubicLUT declaration | Chris Robinson | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | Remove some IN_IDE_PARSER uses | Chris Robinson | 2014-12-24 | 1 | -7/+0 |
| | |||||
* | Remove some unnecessary restrict uses | Chris Robinson | 2014-12-24 | 1 | -7/+6 |
| | |||||
* | Add a lockless ringbuffer | Chris Robinson | 2014-12-23 | 1 | -0/+19 |
| | | | | | | Largely copied from JACK, it's extended to work with user-specified element sizes instead of bytes. This is necessary to be able to work with 6- and 7- channel output modes. | ||||
* | Use a macro for the record thread name | Chris Robinson | 2014-12-21 | 1 | -0/+2 |
| | |||||
* | Fix logging on Windows | Chris Robinson | 2014-12-20 | 1 | -1/+1 |
| | |||||
* | Use aluVector and aluMatrix in a couple more places | Chris Robinson | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Use aluVector in some more places | Chris Robinson | 2014-12-16 | 4 | -50/+34 |
| | |||||
* | Add explicit matrix and vector types to operate with | Chris Robinson | 2014-12-16 | 2 | -2/+41 |
| | |||||
* | Use a lookup table to do cubic resampling | Chris Robinson | 2014-12-15 | 1 | -9/+9 |
| | |||||
* | Transpose the cubic matrix op | Chris Robinson | 2014-12-15 | 1 | -6/+6 |
| | |||||
* | Remove IrSize from DirectParams | Chris Robinson | 2014-11-29 | 1 | -1/+0 |
| | |||||
* | Support B-Format output with the wave file writer | Chris Robinson | 2014-11-25 | 1 | -0/+7 |
| | |||||
* | Move the voice's last position and gain out of the Hrtf container | Chris Robinson | 2014-11-24 | 1 | -2/+3 |
| | |||||
* | Add a boolean to specify if a device is headphones | Chris Robinson | 2014-11-23 | 1 | -0/+1 |
| | |||||
* | Remove unused channel enums | Chris Robinson | 2014-11-23 | 1 | -2/+0 |
| | |||||
* | Remove the cube+diamond virtual layout | Chris Robinson | 2014-11-23 | 1 | -1/+1 |
| | |||||
* | Partially revert "Use a different method for HRTF mixing" | Chris Robinson | 2014-11-23 | 3 | -1/+22 |
| | | | | | | | | | | | | 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. | ||||
* | Attempt to use BS2B when using headphones without HRTF | Chris Robinson | 2014-11-22 | 1 | -1/+0 |
| | |||||
* | Rework HRTF decision logic | Chris Robinson | 2014-11-22 | 1 | -0/+1 |
| | | | | | | This way takes into account a new stereo-mode config option, which when set to "headphones" will default to using HRTF. Eventually the device will also be able to specify if headphones are being used. | ||||
* | Remove an unused macro | Chris Robinson | 2014-11-22 | 1 | -3/+0 |
| | |||||
* | Rename Voice's NumChannels to OutChannels | Chris Robinson | 2014-11-22 | 1 | -1/+1 |
| | |||||
* | Store the number of output channels in the voice | Chris Robinson | 2014-11-22 | 1 | -0/+1 |
| |