aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Use ALsizei and ALint for sizes and offsets with resamplers and filtersChris Robinson2017-01-167-71/+71
|
* Use ALsizei for sizes and offsets with the mixerChris Robinson2017-01-1610-171/+171
| | | | | | Unsigned 32-bit offsets actually have some potential overhead on 64-bit targets for pointer/array accesses due to rules on integer wrapping. No idea how much impact it has in practice, but it's nice to be correct about it.
* Use second-order ambisonics for basic HRTF renderingChris Robinson2017-01-155-23/+93
| | | | | | This should improve positional quality for relatively low cost. Full HRTF rendering still only uses first-order since the only use of the dry buffer there is for first-order content (B-Format buffers, effects).
* Avoid using some LP typesChris Robinson2017-01-101-5/+5
|
* Use proper atomics in the OSS backendChris Robinson2017-01-101-17/+17
|
* Hold Pulse's mainloop lock while calling capture functionsChris Robinson2017-01-101-2/+10
| | | | | | | Since commit c837484015e, the backend's lock is no longer implicitly held when calling capture functions. A separate mutex is used to ensure serial access, and its up to the backend to protect against races and reentrancy with the audio API.
* One more update for the HRTF B-Format coefficientsChris Robinson2017-01-091-14/+14
| | | | These should better represent the pseudo-inverse matrices with N3D scaling.
* Add missing AL_EFFECTSLOT_ properties for al(c)GetEnumValueChris Robinson2017-01-051-0/+5
|
* Update the B-Format HRTF coefficients to use the pseudo-inverse matrixChris Robinson2017-01-041-26/+14
| | | | | | It's hard to tell which is ultimately better, although this way does make the FOA output somewhat louder which will help when it's combined with direct HRTF rendering.
* Avoid writing to the same buffer that's read fromChris Robinson2016-12-231-36/+36
| | | | Also clean up comment formatting a bit.
* Reorder filter coefficientsChris Robinson2016-12-212-10/+10
|
* Avoid duplicating code using a macroChris Robinson2016-12-211-38/+3
|
* 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.