aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
Commit message (Collapse)AuthorAgeFilesLines
* Increase the default effect slot and send countChris Robinson2017-02-211-1/+2
| | | | | | | | | | The default number of auxiliary effect slots is now 64. This can still be raised by the config file without a hard maximum, but incurs processing cost for each effect slot generated by the app. The default number of source sends is now actually 2, as per the EFX docs. However, it can be raised up to 16 via ALC_MAX_AUXILIARY_SENDS attribute requests, rather than the previous 4.
* Dynamically allocate the ALsource Send[] arrayChris Robinson2017-02-213-24/+35
|
* Make the voices' Send[] array dynamically sizedChris Robinson2017-02-213-10/+10
| | | | | The voices are still all allocated in one chunk to avoid memory fragmentation. But they're accessed as an array of pointers since the size isn't static.
* Apply distance compensation when writing to the outputChris Robinson2017-02-191-0/+12
|
* Remove the sinc8 resampler optionChris Robinson2017-02-191-12/+2
| | | | | Perf shows less than 1 percent CPU difference from the higher quality bsinc resampler, but uses almost twice as much memory (a 128KB lookup table).
* Reorganize ALvoice membersChris Robinson2017-02-152-10/+9
| | | | | This places the Send[] array at the end of the struct, making it easier to handle dynamically.
* Make ALsourceProps' Send array dynamically sizedChris Robinson2017-02-143-19/+19
| | | | | | ALsourceProps' Send[] array is placed at the end of the struct, and given an indeterminate size. Extra space is allocated at the end of each struct given the number of auxiliary sends set for the device.
* Fix build with non-C11 atomicsChris Robinson2017-02-132-3/+3
|
* Make the source state atomicChris Robinson2017-02-132-27/+28
| | | | | Since it's modified by the mixer when playback is ended, a plain struct member isn't safe.
* Put BsincState in a generic unionChris Robinson2017-02-132-2/+6
|
* Fix more uses of unsigned sizes and offsetsChris Robinson2017-02-101-1/+1
|
* Remove a couple context lock wrapper functionsChris Robinson2017-02-072-23/+17
|
* Remove __android_log_print calls for TRACEREFChris Robinson2017-01-271-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.
* Also log to __android_log_print on AndroidChris Robinson2017-01-261-0/+11
|
* Move the B-Format HRTF virtual speaker stuff to InitHrtfPanningChris Robinson2017-01-181-12/+20
| | | | | This keeps the decoder matrices and coefficient mapping together for if it changes in the future.
* Replace some ALvoid with voidChris Robinson2017-01-181-3/+3
|
* Use ALsizei in more placesChris Robinson2017-01-186-39/+39
|
* Pass the left and right buffers to the hrtf mixers directlyChris Robinson2017-01-171-5/+5
|
* Use ALsizei and ALint for sizes and offsets with resamplers and filtersChris Robinson2017-01-163-4/+5
|
* Use ALsizei for sizes and offsets with the mixerChris Robinson2017-01-162-18/+18
| | | | | | 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-151-2/+2
| | | | | | 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).
* Reorder filter coefficientsChris Robinson2016-12-211-1/+1
|
* Avoid duplicating code using a macroChris Robinson2016-12-213-16/+3
|
* Convert the SndIO backend to the updated APIChris Robinson2016-12-211-3/+0
|
* Trace the commit ID and branch the library was built fromChris Robinson2016-12-211-0/+2
|
* Use separate macros for atomics that don't take a memory orderChris Robinson2016-12-206-57/+60
|
* Fix an infinite loopChris Robinson2016-11-231-0/+1
|
* Only send source updates for sources that have updatedChris Robinson2016-11-232-1/+12
|
* Clean up finding a source's voiceChris Robinson2016-11-222-27/+30
|
* Improve seqlock behaviorChris Robinson2016-11-211-24/+32
|
* Stop using almemory_order_consumeChris Robinson2016-11-173-3/+3
|
* Workaround some systems having an ECHO macroChris Robinson2016-10-303-23/+23
|
* Add some more 'restrict' keywordsChris Robinson2016-10-061-1/+1
|
* Remove an unused structChris Robinson2016-10-051-6/+0
|
* Pass current and target gains directly for mixingChris Robinson2016-10-051-2/+3
|
* Make some pointer-to-array parameters constChris Robinson2016-10-042-2/+45
|
* Finalize AL_SOFT_gain_clamp_exChris Robinson2016-10-031-5/+0
|
* Add a volume-adjust config option to adjust the source output volumeChris Robinson2016-09-242-5/+7
| | | | | | | | | Designed for apps that either don't change the listener's AL_GAIN, or don't allow the listener's AL_GAIN to go above 1. This allows the volume to still be increased further than such apps may allow, if users find it too quiet. Be aware that increasing this can easily cause clipping. The gain limit reported by AL_GAIN_LIMIT_SOFT is also affected by this.
* Remove some more unnecessary volatilesChris Robinson2016-09-241-5/+5
|
* Call ALfilterState_processC directlyChris Robinson2016-09-122-5/+2
| | | | | | It's the only implementation currently, so there's no point to having it stored as a function pointer in the filter struct. Even if there were SIMD versions, it'd be a global selection, not per-instance.
* Mark a global variable declaration as externChris Robinson2016-09-111-1/+1
|
* Use unsigned int shifts for device flagsChris Robinson2016-09-071-5/+5
|
* Make the SelectMixer function sharableChris Robinson2016-09-061-0/+2
|
* Remove use of DECL_CONSTChris Robinson2016-09-063-14/+12
| | | | | No idea if it was really gaining us anything, but removing it fixes a crash I was getting with libs built with Clang.
* Use a predefined identity matrixChris Robinson2016-09-051-0/+1
|
* Rename MatrixMixerFunc to RowMixerFuncChris Robinson2016-09-021-3/+3
|
* Remove unnecessary constsChris Robinson2016-08-311-4/+4
| | | | They were causing GCC's built-in atomic cmpxchg to complain.
* Reorganize sample type conversion functionsChris Robinson2016-08-311-286/+129
| | | | To help avoid redundant manual definitions.
* Initialize some enums to dummy valuesChris Robinson2016-08-311-8/+9
|
* Remove the upper limit from AL_MIN_GAIN and AL_MAX_GAINChris Robinson2016-08-291-2/+2
| | | | As per the current AL_SOFT_gain_clamp_ex proposal.