aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reduce BUFFERSIZE to match the default period sizeChris Robinson2019-02-243-16/+18
| | | | | Also adds a bit more space to the temp source data buffer, to avoid needing to loop on matching sample rates.
* Rework reverb A/B-Format conversion mixingChris Robinson2019-02-241-99/+77
| | | | | This should help improve performance using the optimized mixers, and fewer passes on the transforms, though at the cost of more memory.
* Change some functions to proper methodsChris Robinson2019-02-231-171/+171
|
* Avoid multiple int-to-float conversionsChris Robinson2019-02-231-12/+17
|
* Constify some parameters and remove an explicit loopChris Robinson2019-02-232-10/+23
|
* Remove the FOAOut mixing buffer and associated post-processesChris Robinson2019-02-228-298/+14
|
* Remove the unused FOAOut EffectTargetChris Robinson2019-02-222-3/+2
|
* Apply ambisonic upsampling on reverb output as neededChris Robinson2019-02-221-37/+110
| | | | | | | | | | This isn't the greatest thing since it splits the A-to-B-Format transform from the panning transform. The A-to-B and HF scale mixes are also not as optimal as they could be, since they can't use the main mixer functions (wrong buffer line length). It does, however, get rid of the final use of the FOAOut buffer, so the upsampling post-process is no longer needed.
* Ensure reverb fading doesn't end with less than 4 samplesChris Robinson2019-02-221-1/+1
|
* Avoid some unnecessary local variablesChris Robinson2019-02-221-13/+12
|
* Combine reverb transform matrices one column at a timeChris Robinson2019-02-211-18/+23
|
* Mix B-Format sources directly to the dry bufferChris Robinson2019-02-212-21/+34
| | | | Now the only thing that utilizes FOAOut is reverb output.
* Remove RESTRICT from the bandsplitter process methodChris Robinson2019-02-212-2/+2
| | | | | The compiler can see there's no aliasing with the local variables, and the input/output buffers are handled sequentially one element at a time anyway.
* Add some preliminary fields for mix-time ambisonic upsamplingChris Robinson2019-02-212-4/+23
|
* Allow processing some effects in higher order ambisonicsChris Robinson2019-02-218-19/+19
| | | | | | Reverb notably is still only first-order (any higher order channels are dropped, and it writes to FOAOut). But others, like the equalizer, work on all available channels.
* Add helpers to get the channel count from an ambisonic orderChris Robinson2019-02-213-16/+20
|
* Fix unused parameter warningChris Robinson2019-02-211-1/+1
|
* Get rid of the MAX_EFFECT_CHANNELS macroChris Robinson2019-02-215-43/+39
|
* Make sure the B2A matrix has enough values for the input countChris Robinson2019-02-211-6/+6
|
* Remove some now-unnecessary ReverbState fieldsChris Robinson2019-02-211-26/+1
|
* Pass the number of input channels to EffectState::processChris Robinson2019-02-2114-108/+105
|
* Add a method to get the row of an ambisonic identity transformChris Robinson2019-02-211-0/+7
|
* Ensure the device's mAmbiOrder is always set appropriatelyChris Robinson2019-02-211-8/+23
| | | | The Dry target is always ambisonic, so set its order correctly.
* Store effect slots in groups of 64Chris Robinson2019-02-205-58/+178
| | | | | Now that their wet buffers are allocated dynamically, the ALeffectslot object itself is rather small.
* Allocate the effect slot wet buffer dynamicallyChris Robinson2019-02-204-37/+38
|
* Partially handle non-periphonic reverb inputChris Robinson2019-02-191-3/+26
|
* Use the right macro for the number of reverb panning gainsChris Robinson2019-02-191-2/+2
|
* Rename MAX_AMBI_COEFFS and MAX_AMBI2D_COEFFSChris Robinson2019-02-1915-59/+59
|
* Reduce some indentingChris Robinson2019-02-191-27/+25
|
* Apply the upsampler's all-pass when mixing the band-split samplesChris Robinson2019-02-191-10/+10
|
* Clean up some AmbiUpsampler initializationChris Robinson2019-02-191-17/+19
|
* Avoid a temp buffer for the distance compensation delayChris Robinson2019-02-171-23/+12
|
* Apply phase correction to the ambisonic decoder HRIRsChris Robinson2019-02-161-25/+60
| | | | | | This preserves the original phase of the HRIR frequencies for decoding the ambisonic signal. This should help prevent extra coloration from the band- splitter used to scale the HF response.
* Avoid using internal AL[u]int64 typesChris Robinson2019-02-1113-55/+52
|
* Don't check for __int64Chris Robinson2019-02-112-14/+3
|
* Move some more functions to alnumeric.hChris Robinson2019-02-112-50/+52
|
* Get rid of the FAM_SIZE macroChris Robinson2019-02-113-10/+10
|
* Move some number-related stuff to a separate headerChris Robinson2019-02-114-33/+42
|
* Use std::arrays for HRIR coeffs and valuesChris Robinson2019-02-077-45/+41
|
* Simply setting a couple indicesChris Robinson2019-02-041-2/+2
|
* Use relaxed memory ordering for initializing atomic_flagsChris Robinson2019-02-044-5/+5
|
* Use a unique_ptr to store the loaded HrtfEntryChris Robinson2019-02-041-34/+28
|
* Fixed alffplay underrun recovery timingChris Robinson2019-02-041-33/+26
|
* Merge pull request #269 from gongminmin/FixForVS2019kcat2019-02-046-5/+10
|\ | | | | Fix compiling problems on VS2019 with vc142 toolset
| * Fix compiling problems on VS2019 with vc142 toolsetMinmin Gong2019-02-046-5/+10
|/ | | | Msvc142 in VS2019 preview 2 doesn't allow std::atomic_flag to be initialized by a bool. Call test_and_set in the constructors instead.
* Add missing includeChris Robinson2019-01-291-1/+3
|
* Calculate the correct evidx for the HRTF B-Format decoderChris Robinson2019-01-291-3/+7
|
* Load and use all available HRTF fieldsChris Robinson2019-01-291-30/+30
|
* Pass the distance to GetHrtfCoeffsChris Robinson2019-01-283-22/+25
|
* Collect HRTF field info into a structChris Robinson2019-01-283-36/+56
|