Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ALsizei and ALint for sizes and offsets with resamplers and filters | Chris Robinson | 2017-01-16 | 7 | -71/+71 |
| | |||||
* | Use ALsizei for sizes and offsets with the mixer | Chris Robinson | 2017-01-16 | 10 | -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 rendering | Chris Robinson | 2017-01-15 | 5 | -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 types | Chris Robinson | 2017-01-10 | 1 | -5/+5 |
| | |||||
* | Use proper atomics in the OSS backend | Chris Robinson | 2017-01-10 | 1 | -17/+17 |
| | |||||
* | Hold Pulse's mainloop lock while calling capture functions | Chris Robinson | 2017-01-10 | 1 | -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 coefficients | Chris Robinson | 2017-01-09 | 1 | -14/+14 |
| | | | | These should better represent the pseudo-inverse matrices with N3D scaling. | ||||
* | Add missing AL_EFFECTSLOT_ properties for al(c)GetEnumValue | Chris Robinson | 2017-01-05 | 1 | -0/+5 |
| | |||||
* | Update the B-Format HRTF coefficients to use the pseudo-inverse matrix | Chris Robinson | 2017-01-04 | 1 | -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 from | Chris Robinson | 2016-12-23 | 1 | -36/+36 |
| | | | | Also clean up comment formatting a bit. | ||||
* | Reorder filter coefficients | Chris Robinson | 2016-12-21 | 2 | -10/+10 |
| | |||||
* | Avoid duplicating code using a macro | Chris Robinson | 2016-12-21 | 1 | -38/+3 |
| | |||||
* | Convert the SndIO backend to the updated API | Chris Robinson | 2016-12-21 | 3 | -79/+128 |
| | |||||
* | Add missing macros for OSS3/Free compatibility | Chris Robinson | 2016-12-21 | 1 | -0/+2 |
| | |||||
* | Trace the commit ID and branch the library was built from | Chris Robinson | 2016-12-21 | 1 | -0/+4 |
| | |||||
* | Use separate macros for atomics that don't take a memory order | Chris Robinson | 2016-12-20 | 4 | -47/+49 |
| | |||||
* | Warn when a given device name isn't found for OSS | Chris Robinson | 2016-12-01 | 1 | -4/+10 |
| | |||||
* | Minor cleanup for ALCossListPopulate | Chris Robinson | 2016-12-01 | 1 | -22/+18 |
| | |||||
* | Ensure OSS devices are enumerated when a name is requested. | Chris Robinson | 2016-12-01 | 1 | -2/+12 |
| | |||||
* | Use a function to generate the up-sampler transcode matrix | Chris Robinson | 2016-11-24 | 1 | -54/+56 |
| | |||||
* | Only send source updates for sources that have updated | Chris Robinson | 2016-11-23 | 1 | -1/+2 |
| | |||||
* | Remove the non-atomic COMPARE_EXCHANGE macro | Chris Robinson | 2016-11-22 | 1 | -33/+46 |
| | |||||
* | Update some atomic memory ordering | Chris Robinson | 2016-11-21 | 2 | -8/+11 |
| | |||||
* | Stop using almemory_order_consume | Chris Robinson | 2016-11-17 | 1 | -2/+2 |
| | |||||
* | Update a function comment about its input | Chris Robinson | 2016-11-16 | 1 | -1/+2 |
| | |||||
* | Fixes for embedded HRTFs on OSX | Chris Robinson | 2016-11-11 | 1 | -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 OSX | Chris Robinson | 2016-11-10 | 1 | -0/+25 |
| | |||||
* | Don't use 0 for a resource ID | Chris Robinson | 2016-11-10 | 2 | -4/+4 |
| | |||||
* | Include the full JACK ringbuffer size for the device period count | Chris Robinson | 2016-11-03 | 1 | -3/+8 |
| | |||||
* | Clean up some ringbuffer atomic calls | Chris Robinson | 2016-11-03 | 1 | -17/+22 |
| | |||||
* | Remove the explicit type from ATOMIC_ADD and ATOMIC_SUB | Chris Robinson | 2016-11-03 | 1 | -2/+2 |
| | |||||
* | Use proper atomics for the lockless ringbuffer | Chris Robinson | 2016-11-03 | 1 | -42/+49 |
| | |||||
* | Remove an unnecessary intermediate variable | Chris Robinson | 2016-11-02 | 1 | -7/+5 |
| | |||||
* | Be clearer about whether full or basic HRTF rendering is used | Chris Robinson | 2016-11-02 | 1 | -1/+4 |
| | |||||
* | Rebalance the frequencies for B-Format HRTF coefficients | Chris Robinson | 2016-11-01 | 1 | -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 offsets | Chris Robinson | 2016-10-26 | 1 | -4/+4 |
| | |||||
* | Restore a comment that was accidentally deleted | Chris Robinson | 2016-10-10 | 1 | -0/+9 |
| | |||||
* | Don't interpolate between nearest HRIRs | Chris Robinson | 2016-10-09 | 3 | -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 taps | Chris Robinson | 2016-10-06 | 1 | -60/+39 |
| | |||||
* | Decorrelate the early reflection inputs | Chris Robinson | 2016-10-06 | 1 | -10/+19 |
| | |||||
* | Add some more 'restrict' keywords | Chris Robinson | 2016-10-06 | 7 | -43/+57 |
| | |||||
* | Pass current and target gains directly for mixing | Chris Robinson | 2016-10-05 | 6 | -155/+64 |
| | |||||
* | Update a comment about using row mixers | Chris Robinson | 2016-10-05 | 1 | -3/+1 |
| | |||||
* | Better pack the late reverb low- and all-pass variables | Chris Robinson | 2016-10-05 | 1 | -21/+25 |
| | |||||
* | Use the row mixer functions for the B-to-A-Format conversion | Chris Robinson | 2016-10-04 | 1 | -16/+10 |
| | |||||
* | Make some pointer-to-array parameters const | Chris Robinson | 2016-10-04 | 8 | -45/+53 |
| | |||||
* | Include wtypes.h for defining Windows' property keys | Chris Robinson | 2016-10-04 | 2 | -0/+2 |
| | |||||
* | Enhance reverb using B-Format processing | Chris Robinson | 2016-10-03 | 1 | -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_ex | Chris Robinson | 2016-10-03 | 1 | -1/+1 |
| | |||||
* | Update the ambisonic coefficients for HRTF | Chris Robinson | 2016-09-26 | 1 | -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. |