Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try to use the system sample rate with Android | Chris Robinson | 2017-01-26 | 1 | -6/+56 |
| | |||||
* | Get the JavaVM handle on Android targets | Chris Robinson | 2017-01-26 | 2 | -0/+72 |
| | |||||
* | Improve the ambisonic upscaling methods | Chris Robinson | 2017-01-24 | 3 | -129/+174 |
| | | | | | | | | This now takes advantage of the differences seen in generated decoder matrices for first-order compared to second- and third-order, such that with the appropriate frequency-dependent scaling applied to first-order content, the result is identical with a higher-order decoder matrix compared to a first- order matrix for the same layout. | ||||
* | Fix coefficient counts for the built-in B-Format decoders | Chris Robinson | 2017-01-21 | 1 | -2/+2 |
| | |||||
* | Use a flat sqrt(2) scale for non-directional ambient gains | Chris Robinson | 2017-01-21 | 1 | -8/+3 |
| | |||||
* | Update the default basic B-Format decoders | Chris Robinson | 2017-01-21 | 1 | -47/+36 |
| | | | | This also converts them to ACN/N3D format. | ||||
* | Move the B-Format HRTF virtual speaker stuff to InitHrtfPanning | Chris Robinson | 2017-01-18 | 3 | -88/+76 |
| | | | | | This keeps the decoder matrices and coefficient mapping together for if it changes in the future. | ||||
* | Replace some ALvoid with void | Chris Robinson | 2017-01-18 | 2 | -3/+3 |
| | |||||
* | Use ALsizei in more places | Chris Robinson | 2017-01-18 | 5 | -55/+55 |
| | |||||
* | Pass the left and right buffers to the hrtf mixers directly | Chris Robinson | 2017-01-17 | 4 | -32/+36 |
| | |||||
* | Small update for the "virtual" Ambi2DDecoder coefficients | Chris Robinson | 2017-01-17 | 1 | -5/+5 |
| | |||||
* | More ALsizei, with the B-Format decoder | Chris Robinson | 2017-01-16 | 5 | -26/+35 |
| | |||||
* | Fix a couple hard-coded array sizes | Chris Robinson | 2017-01-16 | 1 | -2/+2 |
| | |||||
* | Use ALsizei in a few more places | Chris Robinson | 2017-01-16 | 4 | -9/+9 |
| | |||||
* | 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 |
| |