Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the source state atomic | Chris Robinson | 2017-02-13 | 5 | -34/+36 |
| | | | | | Since it's modified by the mixer when playback is ended, a plain struct member isn't safe. | ||||
* | Put BsincState in a generic union | Chris Robinson | 2017-02-13 | 11 | -77/+81 |
| | |||||
* | Porperly check for and use __builtin_assume_aligned | Chris Robinson | 2017-02-13 | 4 | -12/+36 |
| | |||||
* | Clean up the bsinc mixer a bit | Chris Robinson | 2017-02-12 | 3 | -26/+28 |
| | |||||
* | Add NEON-enhanced resamplers | Chris Robinson | 2017-02-12 | 3 | -4/+294 |
| | |||||
* | Print separate messages for building sdl_sound and ffmpeg examples | Chris Robinson | 2017-02-12 | 1 | -3/+3 |
| | |||||
* | Don't require SDL_sound for alffplay | Chris Robinson | 2017-02-11 | 2 | -49/+64 |
| | | | | Also explicitly link with libz for alffplay, since static ffmpeg libs need it. | ||||
* | Fix more uses of unsigned sizes and offsets | Chris Robinson | 2017-02-10 | 3 | -10/+10 |
| | |||||
* | Remove a couple context lock wrapper functions | Chris Robinson | 2017-02-07 | 3 | -26/+17 |
| | |||||
* | Properly capitalize NEON | Chris Robinson | 2017-02-07 | 1 | -1/+1 |
| | |||||
* | Clear trailing whitespace from the cpu features string | Chris Robinson | 2017-02-07 | 1 | -0/+5 |
| | |||||
* | Use the correct IID for the opensl buffer queue | Chris Robinson | 2017-02-07 | 1 | -2/+3 |
| | |||||
* | Convert the OpenSL backend to the new backend API | Chris Robinson | 2017-02-07 | 3 | -177/+434 |
| | | | | | This also removes the buffer queue callback's call to aluMixData, which could potentially block on a mutex. | ||||
* | Fix for NULL JNIEnv | Chris Robinson | 2017-02-05 | 2 | -5/+9 |
| | | | | Which can happen with native-only apps | ||||
* | Call getSystemService as a non-static function | Chris Robinson | 2017-02-03 | 1 | -4/+4 |
| | |||||
* | Android's AudioManager.getProperty(String) returns a String | Chris Robinson | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | Replace more ALuint with ALsizei | Chris Robinson | 2017-01-29 | 3 | -15/+15 |
| | |||||
* | Fix late reverb low-pass filtering | Chris Robinson | 2017-01-29 | 1 | -1/+1 |
| | |||||
* | Use an all-pass series on each late reverb line | Chris Robinson | 2017-01-28 | 1 | -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 made | Chris Robinson | 2017-01-27 | 1 | -7/+22 |
| | |||||
* | Remove __android_log_print calls for TRACEREF | Chris Robinson | 2017-01-27 | 1 | -1/+0 |
| | | | | | TRACEREFs aren't normally important, and for as often as it happens, the added function calls are wasteful even if they end up doing nothing. | ||||
* | Round and clamp the scaled update count with opensl | Chris Robinson | 2017-01-27 | 1 | -1/+4 |
| | |||||
* | Try to use the system sample rate with Android | Chris Robinson | 2017-01-26 | 1 | -6/+56 |
| | |||||
* | Also log to __android_log_print on Android | Chris Robinson | 2017-01-26 | 2 | -0/+18 |
| | |||||
* | 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 | 4 | -100/+96 |
| | | | | | 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 | 3 | -6/+6 |
| | |||||
* | Use ALsizei in more places | Chris Robinson | 2017-01-18 | 11 | -94/+94 |
| | |||||
* | Pass the left and right buffers to the hrtf mixers directly | Chris Robinson | 2017-01-17 | 5 | -37/+41 |
| | |||||
* | 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 | 10 | -75/+76 |
| | |||||
* | Use ALsizei for sizes and offsets with the mixer | Chris Robinson | 2017-01-16 | 12 | -189/+189 |
| | | | | | | 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 | 6 | -25/+95 |
| | | | | | | 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). | ||||
* | Replace range-based for loops with QList iterators | Chris Robinson | 2017-01-13 | 1 | -8/+8 |
| | | | | Less than ideal, but some targets can't rely on C++11 | ||||
* | Search for and use Qt5 for alsoft-config | Chris Robinson | 2017-01-12 | 1 | -13/+36 |
| | | | | An option is provided to instead use Qt4.8 still if desired. | ||||
* | Use C++11 for alsoft-config | Chris Robinson | 2017-01-12 | 2 | -8/+14 |
| | |||||
* | Update binary search algorithm for uintmaps | Chris Robinson | 2017-01-12 | 1 | -68/+79 |
| | |||||
* | 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. |