aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Convert the SndIO backend to the updated APIChris Robinson2016-12-213-79/+128
|
* Add missing macros for OSS3/Free compatibilityChris Robinson2016-12-211-0/+2
|
* Trace the commit ID and branch the library was built fromChris Robinson2016-12-211-0/+4
|
* Use separate macros for atomics that don't take a memory orderChris Robinson2016-12-204-47/+49
|
* Warn when a given device name isn't found for OSSChris Robinson2016-12-011-4/+10
|
* Minor cleanup for ALCossListPopulateChris Robinson2016-12-011-22/+18
|
* Ensure OSS devices are enumerated when a name is requested.Chris Robinson2016-12-011-2/+12
|
* Use a function to generate the up-sampler transcode matrixChris Robinson2016-11-241-54/+56
|
* Only send source updates for sources that have updatedChris Robinson2016-11-231-1/+2
|
* Remove the non-atomic COMPARE_EXCHANGE macroChris Robinson2016-11-221-33/+46
|
* Update some atomic memory orderingChris Robinson2016-11-212-8/+11
|
* Stop using almemory_order_consumeChris Robinson2016-11-171-2/+2
|
* Update a function comment about its inputChris Robinson2016-11-161-1/+2
|
* Fixes for embedded HRTFs on OSXChris Robinson2016-11-111-5/+6
| | | | | | | | Use an empty source file to build a stub object file, instead of /dev/null. Use _mh_dylib_header to retrieve the data on 10.7+, instead of _mh_execute_header. And shorten the names to fit in the 16-character limit. Thanks to Anna Cheremnykh for the fixes!
* Try to make embedded HRTF data sets work on OSXChris Robinson2016-11-101-0/+25
|
* Don't use 0 for a resource IDChris Robinson2016-11-102-4/+4
|
* Include the full JACK ringbuffer size for the device period countChris Robinson2016-11-031-3/+8
|
* Clean up some ringbuffer atomic callsChris Robinson2016-11-031-17/+22
|
* Remove the explicit type from ATOMIC_ADD and ATOMIC_SUBChris Robinson2016-11-031-2/+2
|
* Use proper atomics for the lockless ringbufferChris Robinson2016-11-031-42/+49
|
* Remove an unnecessary intermediate variableChris Robinson2016-11-021-7/+5
|
* Be clearer about whether full or basic HRTF rendering is usedChris Robinson2016-11-021-1/+4
|
* Rebalance the frequencies for B-Format HRTF coefficientsChris Robinson2016-11-011-14/+27
| | | | | | | | | | | | | | | The original pseudo-inverse method that generated the LF matrix expects the high frequencies to be scaled up by ~2.645751 over the low frequencies (or sqrt(7), ~8.45dB). However, the AllRAD method used to generate the HF matrix produced a matrix that was only scaled up by 1.46551981258 (based on the average of the W coefficients). Previously, the LF matrix was scaled down by sqrt(7), as the difference specified in the pseudo-inverse results. This failed to account for the increase already present in the HF matrix, so now the LF matrix is scaled down by the remaining difference between the expected scaling and the scaling already present in the HF matrix (sqrt(7) / 1.46551981258 = 1.80533302205, or roughly 5.13dB, where the reciprocal is 0.553914423 for -5.13 dB).
* Round the early and late delay tap sample offsetsChris Robinson2016-10-261-4/+4
|
* Restore a comment that was accidentally deletedChris Robinson2016-10-101-0/+9
|
* Don't interpolate between nearest HRIRsChris Robinson2016-10-093-80/+43
| | | | | | | | It still fades between HRIRs when it changes, but now it selects the nearest one instead of blending the nearest four. Due to the minimum-phase nature of the HRIRs, interpolating between delays lead to some oddities which are exasperated by the fading (and the fading is needed to avoid clicks and pops, and smooth out changes).
* Better sort the main delay line tapsChris Robinson2016-10-061-60/+39
|
* Decorrelate the early reflection inputsChris Robinson2016-10-061-10/+19
|
* Add some more 'restrict' keywordsChris Robinson2016-10-067-43/+57
|
* Pass current and target gains directly for mixingChris Robinson2016-10-056-155/+64
|
* Update a comment about using row mixersChris Robinson2016-10-051-3/+1
|
* Better pack the late reverb low- and all-pass variablesChris Robinson2016-10-051-21/+25
|
* Use the row mixer functions for the B-to-A-Format conversionChris Robinson2016-10-041-16/+10
|
* Make some pointer-to-array parameters constChris Robinson2016-10-048-45/+53
|
* Include wtypes.h for defining Windows' property keysChris Robinson2016-10-042-0/+2
|
* Enhance reverb using B-Format processingChris Robinson2016-10-031-405/+386
| | | | | | | | | | | | Technically it uses A-Format processing from the B-Format input and output. But this attempts to provide better spatial definition to the reverberation so that it can be used in a more generic fashion, allowing it to be decoded as any other B-Format signal to whatever output is needed, and also allowing for a bit of height information when the output is capable of such. There may still be some kinks to work out, such as properly decorrelating the early reflection taps and tweaking the late reverb density. But it seems to be a good enough start.
* Finalize AL_SOFT_gain_clamp_exChris Robinson2016-10-031-1/+1
|
* Update the ambisonic coefficients for HRTFChris Robinson2016-09-261-15/+15
| | | | | | | This uses an AllRAD-derived decoder matrix for the high frequencies, which seems to improve positioning response. It also switches back to dual-band. The low frequencies appear to be unexpectedly quiet by comparison, but it's not that bad and can be tweaked later.
* Add a volume-adjust config option to adjust the source output volumeChris Robinson2016-09-242-1/+18
| | | | | | | | | Designed for apps that either don't change the listener's AL_GAIN, or don't allow the listener's AL_GAIN to go above 1. This allows the volume to still be increased further than such apps may allow, if users find it too quiet. Be aware that increasing this can easily cause clipping. The gain limit reported by AL_GAIN_LIMIT_SOFT is also affected by this.
* Recognize Headset formfactors as headphonesChris Robinson2016-09-211-1/+3
|
* Fix EAX reverb effect output for HRTF and UHJChris Robinson2016-09-131-2/+2
|
* Call ALfilterState_processC directlyChris Robinson2016-09-122-5/+0
| | | | | | It's the only implementation currently, so there's no point to having it stored as a function pointer in the filter struct. Even if there were SIMD versions, it'd be a global selection, not per-instance.
* Write to the correct outputs for extra reverb channelsChris Robinson2016-09-111-2/+2
|
* Combine the reverb decorrelator delay line with the main delay lineChris Robinson2016-09-111-46/+26
| | | | | | | Since it was merely acting as an extension of it anyway, with the second delay line tap (for late reverb) copying attenuated samples to the decorrelator line that was being tapped off of. Just extend the delay line and offset the decorrelator taps to be relative to the late reverb tap.
* Don't warn if the desired default HRTF is already firstChris Robinson2016-09-101-4/+4
|
* Reduce the volume for the HRTF ambisonic decoderChris Robinson2016-09-081-14/+14
| | | | | | | Since it's accumulating multiple HRIRs for two output speakers, it seems to be a better option to preserve the amplitude of the high-frequency decoder instead of increasing it, and reduce the amplitude of the low-frequency decoder to compensate.
* Only WARN if GetProcPath fails to find the binaryChris Robinson2016-09-081-1/+1
|
* Properly check if /proc/cpuinfo openedChris Robinson2016-09-081-1/+1
|
* Use a few more HRIRs for the HRTF B-Format decoderChris Robinson2016-09-071-19/+31
| | | | | 14 in total, an 8-point cube and a 6-point diamond shape, to help improve sound localization a bit. Incurs no real extra CPU cost once the IRs are built.
* Check for run-time NEON support by reading /proc/cpuinfoChris Robinson2016-09-071-2/+32
| | | | | | Less than ideal since documentations warn it may not list 'neon' even if it's really supported. However, the "proper" APIs to check for NEON extensions don't seem to exist in my toolchain.