Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the FIR4 from SSE2 to SSE3 | Chris Robinson | 2015-10-11 | 1 | -1/+5 |
| | | | | | SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of horizontal adds. | ||||
* | Allow apps to request a specific HRTF | Chris Robinson | 2015-10-07 | 1 | -15/+47 |
| | |||||
* | Use the enumerated HRTF list for selecting an HRTF | Chris Robinson | 2015-10-06 | 1 | -8/+48 |
| | | | | Also report the proper specifier of the one currently in use. | ||||
* | Enumerate and list HRTFs per-device | Chris Robinson | 2015-10-06 | 1 | -4/+12 |
| | |||||
* | Add methods to enumerate and query device HRTFs | Chris Robinson | 2015-10-03 | 1 | -36/+87 |
| | | | | Currently just returns a dummy entry. | ||||
* | Move the resampler stuff to mixer.c where it's used | Chris Robinson | 2015-10-01 | 1 | -25/+0 |
| | |||||
* | Implement a 6-point sinc-lanczos filter | Chris Robinson | 2015-09-29 | 1 | -1/+3 |
| | |||||
* | Replace the cubic resampler with a 4-point sinc/lanczos filter | Chris Robinson | 2015-09-27 | 1 | -3/+7 |
| | |||||
* | Don't keep selecting the mixer to use | Chris Robinson | 2015-09-27 | 1 | -1/+1 |
| | |||||
* | Return the number of properties written | Chris Robinson | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Use a local var instead of multiple double-dereferencing | Chris Robinson | 2015-09-24 | 1 | -12/+13 |
| | |||||
* | Get rid of ALCdevice_GetLatency | Chris Robinson | 2015-09-21 | 1 | -5/+0 |
| | |||||
* | Allow the hrtf_tables option to be device-specific | Chris Robinson | 2015-09-20 | 1 | -3/+4 |
| | |||||
* | Fix updating listener params when forcing updates | Chris Robinson | 2015-09-18 | 1 | -33/+7 |
| | |||||
* | Add missing enum values | Chris Robinson | 2015-09-17 | 1 | -0/+11 |
| | | | | Spotted by Xavier Bouchoux. | ||||
* | Set both BS2B parameters at once | Chris Robinson | 2015-09-08 | 1 | -2/+1 |
| | |||||
* | Avoid setting an HRTF-compatible format when it's disabled | Chris Robinson | 2015-09-05 | 1 | -4/+4 |
| | |||||
* | Don't store the HRTF request mode in the device flags | Chris Robinson | 2015-09-05 | 1 | -28/+30 |
| | |||||
* | Set a proper HRTF status when non-stereo output is used | Chris Robinson | 2015-09-05 | 1 | -0/+4 |
| | |||||
* | Change the hrtf config option to expect auto/true/false instead of a bool | Chris Robinson | 2015-09-04 | 1 | -9/+24 |
| | |||||
* | Allow for device-specific config values | Chris Robinson | 2015-08-28 | 1 | -29/+30 |
| | |||||
* | 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. | ||||
* | Also recognize "DirectSound" and "MMSYSTEM" on Windows | Chris Robinson | 2015-08-14 | 1 | -3/+5 |
| | |||||
* | Recognize "DirectSound3D" as a device name on Windows | Chris Robinson | 2015-08-13 | 1 | -1/+8 |
| | |||||
* | Allow specifying ALC_DONT_CARE_SOFT for ALC_HRTF_SOFT | Chris Robinson | 2015-07-06 | 1 | -16/+23 |
| | | | | | 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 | -4/+1 |
| | |||||
* | Convert the solaris backend to the new API | Chris Robinson | 2015-05-17 | 1 | -1/+1 |
| | |||||
* | Add a method to reset the device | Chris Robinson | 2015-05-16 | 1 | -0/+38 |
| | | | | | | | 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 | -3/+19 |
| | | | | | | | | | 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 | -4/+23 |
| | | | | | 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 | -7/+26 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Make sure the BS2B filter is freed if HRTF is enabled | Chris Robinson | 2015-02-09 | 1 | -0/+4 |
| | |||||
* | Avoid unnecessary uses of ExchangeInt/Ptr | Chris Robinson | 2015-02-04 | 1 | -3/+9 |
| | |||||
* | Try the JACK backend before PulseAudio | Chris Robinson | 2015-02-03 | 1 | -3/+3 |
| | | | | | The backend will not spawn a server by default, so PulseAudio will still be preferred as long as a JACK server isn't already running. | ||||
* | Add a skeleton backend for JACK | Chris Robinson | 2014-12-21 | 1 | -0/+3 |
| | |||||
* | Set error if capture device fails to start | Chris Robinson | 2014-12-21 | 1 | -4/+10 |
| | |||||
* | Use aluVector in some more places | Chris Robinson | 2014-12-16 | 1 | -6/+2 |
| | |||||
* | Add explicit matrix and vector types to operate with | Chris Robinson | 2014-12-16 | 1 | -9/+7 |
| | |||||
* | Use a lookup table to do cubic resampling | Chris Robinson | 2014-12-15 | 1 | -0/+1 |
| | |||||
* | Support B-Format output with the wave file writer | Chris Robinson | 2014-11-25 | 1 | -0/+9 |
| | |||||
* | Avoid using ALCdevice_Lock and ALCdevice_Unlock unnecessarily | Chris Robinson | 2014-11-23 | 1 | -12/+12 |
| | |||||
* | Update a comment | Chris Robinson | 2014-11-23 | 1 | -3/+3 |
| | |||||
* | Add a boolean to specify if a device is headphones | Chris Robinson | 2014-11-23 | 1 | -1/+4 |
| | |||||
* | Handle loopback devices when deciding to use HRTF | Chris Robinson | 2014-11-23 | 1 | -20/+18 |
| | |||||
* | Remove a couple unnecessary traces | Chris Robinson | 2014-11-22 | 1 | -2/+0 |
| | |||||
* | Attempt to use BS2B when using headphones without HRTF | Chris Robinson | 2014-11-22 | 1 | -20/+23 |
| | |||||
* | Rework HRTF decision logic | Chris Robinson | 2014-11-22 | 1 | -36/+53 |
| | | | | | | 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. | ||||
* | Move a warning check earlier | Chris Robinson | 2014-11-22 | 1 | -8/+8 |
| | |||||
* | Use a different method for HRTF mixing | Chris Robinson | 2014-11-22 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Reformat a couple lines | Chris Robinson | 2014-11-21 | 1 | -10/+8 |
| |