Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Initialize panning after setting up HRTF | Chris Robinson | 2014-11-21 | 1 | -5/+5 |
| | |||||
* | Allocate the DryBuffer dynamically | Chris Robinson | 2014-11-21 | 1 | -0/+14 |
| | |||||
* | Align UpdateSize for Neon, too | Chris Robinson | 2014-11-17 | 1 | -1/+1 |
| | |||||
* | Don't use the device lock/unlock wrappers needlessly | Chris Robinson | 2014-11-08 | 1 | -4/+4 |
| | |||||
* | Remove the unused wide-stereo option | Chris Robinson | 2014-11-08 | 1 | -4/+0 |
| | |||||
* | Allow selecting the 5.1-rear channel config from the config file | Chris Robinson | 2014-11-08 | 1 | -0/+1 |
| | |||||
* | Remove the long-deprecated 'format' config option | Chris Robinson | 2014-11-08 | 1 | -49/+0 |
| | |||||
* | Only enable the BS2B filter with stereo output | Chris Robinson | 2014-11-07 | 1 | -1/+2 |
| | |||||
* | Go to the next voice when a source is stopped | Chris Robinson | 2014-11-07 | 1 | -1/+1 |
| | |||||
* | Use a separate macro for the max output channel count | Chris Robinson | 2014-11-07 | 1 | -2/+2 |
| | |||||
* | Fix 5.1 surround sound | Chris Robinson | 2014-11-07 | 1 | -60/+69 |
| | | | | | | | | | | | | | Apparently, 5.1 surround sound is supposed to use the "side" channels, not the back channels, and we've been wrong this whole time. That means the "5.1 Side" is actually the correct 5.1 setup, and using the back channels is anomalous. Additionally, this means the 5.1 buffer format should also use the the side channels instead of the back channels. A final note: the 5.1 mixing coefficients are changed so both use the original 5.1 surround sound set (with the surround channels at +/-110 degrees). So the only difference now between 5.1 "side" and 5.1 "back" is the channel labels. | ||||
* | Support AL_EXT_MULAW_BFORMAT | Chris Robinson | 2014-10-31 | 1 | -1/+3 |
| | |||||
* | Add preliminary AL_EXT_BFORMAT support | Chris Robinson | 2014-10-31 | 1 | -7/+13 |
| | | | | | Currently missing the AL_ORIENTATION source property. Gain stepping also does not work. | ||||
* | Make alcSuspendContext and alcProcessContext batch updates | Chris Robinson | 2014-10-12 | 1 | -4/+135 |
| | | | | | | | | | | This behavior better matches Creative's hardware drivers and Rapture3D's OpenAL driver. A compatibility environment variable is provided to restore the old no-op behavior for any app that behaves badly from this change (set __ALSOFT_SUSPEND_CONTEXT to "ignore"). If too many apps have a problem with this, the default behavior may need to be changed to ignore, with the env var providing an option to defer/batch instead. | ||||
* | Add a helper to search for a channel index by name | Chris Robinson | 2014-10-02 | 1 | -0/+2 |
| | |||||
* | Copy the null terminator from the string instead of appending it | Chris Robinson | 2014-09-30 | 1 | -4/+1 |
| | |||||
* | Invert the ChannelOffsets array | Chris Robinson | 2014-09-10 | 1 | -51/+51 |
| | |||||
* | Remove the GetLatency method from the old BackendFuncs | Chris Robinson | 2014-09-08 | 1 | -6/+1 |
| | |||||
* | Convert the winmm backend to the new backend API | Chris Robinson | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | Use al_calloc/al_free to allocate contexts and voices | Chris Robinson | 2014-08-30 | 1 | -6/+6 |
| | |||||
* | Setup the HRTF format before tracing the pre-reset format | Chris Robinson | 2014-08-29 | 1 | -17/+17 |
| | |||||
* | Return the correct default capture device name | Chris Robinson | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Convert the wave writer backend to the new API | Chris Robinson | 2014-08-24 | 1 | -1/+1 |
| | |||||
* | Rename activesource to voice | Chris Robinson | 2014-08-21 | 1 | -17/+16 |
| | |||||
* | Use an array of objects for active sources instead of pointers | Chris Robinson | 2014-08-21 | 1 | -10/+3 |
| | |||||
* | Use a NULL source for inactive activesources | Chris Robinson | 2014-08-21 | 1 | -2/+6 |
| | | | | Also only access the activesource's source field once per update. | ||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -2/+2 |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | ||||
* | ALC_SOFT_pause_device is finished | Chris Robinson | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | Disable the autowah effect | Chris Robinson | 2014-08-06 | 1 | -0/+4 |
| | | | | | | | | There's apparently some issues with it causing noise or killing the output. It might be due to the per-sample changes being too harsh for the filter to keep up with, but it's not something I can take care of in time for release. This commit should be reverted after release when work on fixing it can resume. | ||||
* | Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFE | Chris Robinson | 2014-08-03 | 1 | -9/+9 |
| | |||||
* | Use atomics for the device and context list heads | Chris Robinson | 2014-08-01 | 1 | -59/+96 |
| | |||||
* | Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONG | Chris Robinson | 2014-07-31 | 1 | -1/+1 |
| | |||||
* | Explicitly pass the address of atomics and parameters that can be modified | Chris Robinson | 2014-07-26 | 1 | -18/+18 |
| | |||||
* | Support C11 atomics | Chris Robinson | 2014-07-23 | 1 | -1/+3 |
| | |||||
* | Use generic atomics in more places | Chris Robinson | 2014-07-22 | 1 | -23/+18 |
| | |||||
* | Add macros for generic atomic functionality | Chris Robinson | 2014-07-22 | 1 | -4/+4 |
| | |||||
* | AL_SOFT_source_length is complete | Chris Robinson | 2014-07-05 | 1 | -1/+1 |
| | |||||
* | AL_SOFT_MSADPCM is functionally complete | Chris Robinson | 2014-07-03 | 1 | -1/+1 |
| | |||||
* | Load soundfont samples into an ALbuffer | Chris Robinson | 2014-06-29 | 1 | -4/+0 |
| | | | | | Also remove ALsoundfont's now-unneeded sample storage functions and struct fields. | ||||
* | Avoid negating 'negative' variable names | Chris Robinson | 2014-06-20 | 1 | -2/+2 |
| | |||||
* | Don't pass the device to HRTF methods | Chris Robinson | 2014-06-20 | 1 | -4/+4 |
| | |||||
* | Don't overwrite the loopback device format with the HRTF format | Chris Robinson | 2014-06-20 | 1 | -8/+18 |
| | |||||
* | Add SSE2 and SSE4.1 linear resamplers | Timothy Arceri | 2014-06-06 | 1 | -1/+7 |
| | | | | | 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. |