aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Fix for NULL JNIEnvChris Robinson2017-02-052-5/+9
| | | | Which can happen with native-only apps
* Call getSystemService as a non-static functionChris Robinson2017-02-031-4/+4
|
* Android's AudioManager.getProperty(String) returns a StringChris Robinson2017-02-021-1/+1
|
* Replace more ALuint with ALsizeiChris Robinson2017-01-293-15/+15
|
* Fix late reverb low-pass filteringChris Robinson2017-01-291-1/+1
|
* Use an all-pass series on each late reverb lineChris Robinson2017-01-281-261/+396
| | | | | | | | | This attempts to improve the smoothness of the late reverb decay by passing each line through multiple all-pass filters. Some work is still needed to work better in high-density and not-so-high-diffusion environments. This also removes the decay from the early reflections, since it's no longer continuous feedback.
* Add more traces for the Java calls being madeChris Robinson2017-01-271-7/+22
|
* Round and clamp the scaled update count with openslChris Robinson2017-01-271-1/+4
|
* Try to use the system sample rate with AndroidChris Robinson2017-01-261-6/+56
|
* Get the JavaVM handle on Android targetsChris Robinson2017-01-262-0/+72
|
* Improve the ambisonic upscaling methodsChris Robinson2017-01-243-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 decodersChris Robinson2017-01-211-2/+2
|
* Use a flat sqrt(2) scale for non-directional ambient gainsChris Robinson2017-01-211-8/+3
|
* Update the default basic B-Format decodersChris Robinson2017-01-211-47/+36
| | | | This also converts them to ACN/N3D format.
* Move the B-Format HRTF virtual speaker stuff to InitHrtfPanningChris Robinson2017-01-183-88/+76
| | | | | This keeps the decoder matrices and coefficient mapping together for if it changes in the future.
* Replace some ALvoid with voidChris Robinson2017-01-182-3/+3
|
* Use ALsizei in more placesChris Robinson2017-01-185-55/+55
|
* Pass the left and right buffers to the hrtf mixers directlyChris Robinson2017-01-174-32/+36
|
* Small update for the "virtual" Ambi2DDecoder coefficientsChris Robinson2017-01-171-5/+5
|
* More ALsizei, with the B-Format decoderChris Robinson2017-01-165-26/+35
|
* Fix a couple hard-coded array sizesChris Robinson2017-01-161-2/+2
|
* Use ALsizei in a few more placesChris Robinson2017-01-164-9/+9
|
* 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
|