aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Use the effect state factory to set the default effect propsChris Robinson2019-03-2213-665/+689
|
* Implement getDefaultProps for effect state factoriesChris Robinson2019-03-2212-17/+267
|
* Use a separate EffectStateFactory for standard reverbChris Robinson2019-03-221-0/+3
|
* Make sure the file is rewound before writing the wave headerChris Robinson2019-03-191-6/+8
|
* Use a sorted vector for looking up contextsChris Robinson2019-03-191-38/+52
| | | | | Note that the device still holds and uses a linked list of its contexts. The sorted vector is used to verify handles given by callers.
* Use a sorted vector for devices instead of a linked listChris Robinson2019-03-191-62/+35
|
* Add some enum casts for the WASAPI backendChris Robinson2019-03-191-5/+5
|
* Rename DevProbe enum namesChris Robinson2019-03-1917-37/+37
|
* Use SSE intrinsics in a few more placesChris Robinson2019-03-181-2/+10
|
* Don't bother trying _controlfp or __control87_2Chris Robinson2019-03-182-25/+0
|
* Use SSE intrinsics to set FTZ and DAZChris Robinson2019-03-182-3/+18
|
* Fix indexing for basic B-Format decodingChris Robinson2019-03-171-2/+3
|
* Always reset all voices on disconnectChris Robinson2019-03-161-28/+1
|
* Include std::placeholders once in an anonymouse namespaceChris Robinson2019-03-161-3/+2
|
* Simplify calculating azimuth and elevation indices for HRTFChris Robinson2019-03-142-18/+8
|
* Fix wrapping for the upper HRIR indexChris Robinson2019-03-141-13/+14
|
* Set the correct target gain after a fade-out HRTF mixChris Robinson2019-03-121-1/+1
|
* Check a value where its usedChris Robinson2019-03-121-3/+4
|
* Fix not looping when the source offset is beyond the loop endChris Robinson2019-03-111-1/+1
|
* Remove a couple redundant local variablesChris Robinson2019-03-111-17/+14
|
* Pass the voice state as a parameter instead of reloading itChris Robinson2019-03-112-8/+7
|
* Rename ALvoice fields for consistencyChris Robinson2019-03-103-192/+188
|
* Improve handling of voice's AmbiScales for upsamplingChris Robinson2019-03-101-5/+1
|
* Use the correct value for MAX_AMBI2D_CHANNELSChris Robinson2019-03-101-1/+1
|
* Don't copy old coeffs in MixHrtfBlendBaseChris Robinson2019-03-101-2/+2
|
* Avoid an extra level of indentationChris Robinson2019-03-101-38/+50
|
* Don't directly use a buffer for updating source parametersChris Robinson2019-03-102-25/+15
|
* Avoid excessive transformations of the source positionChris Robinson2019-03-101-44/+60
|
* Add a method to apply an HF scale without band-splittingChris Robinson2019-03-104-25/+52
|
* Fix for MSVC decaying arrays to pointers with ?:Chris Robinson2019-03-091-5/+5
|
* Fade out voices that end normallyChris Robinson2019-03-091-140/+180
| | | | | | Sometimes a sound may end with non-0 amplitude, particularly if a buffer queue underruns. This helps avoid clicks and pops for sources that don't already end in silence.
* Play dummy samples and force a fade out on stopping voicesChris Robinson2019-03-091-24/+42
|
* Add a Stopping state for voicesChris Robinson2019-03-093-26/+58
| | | | | | This currently doesn't do much, except have the mixer progress it to Stopped. It's valid to have without a source or buffers, and in the future will allow fading out when a source is paused or stopped.
* Clear the voice's buffer when detaching from sourceChris Robinson2019-03-091-0/+4
|
* Pass a reference to function for a template parameterChris Robinson2019-03-031-3/+3
|
* Use more specific names for temp buffer storageChris Robinson2019-03-021-18/+10
|
* Reverse the HRTF field arrayChris Robinson2019-02-273-15/+24
| | | | | | Most often a sound's distance will be beyond the farthest field measurement, so It's more efficient to have the farthest field first and avoid looping through the whole field array for them.
* Combine the reverb output mixes into a single callChris Robinson2019-02-251-28/+38
|
* Make sure the reverb fading completesChris Robinson2019-02-251-1/+1
| | | | | The processing loop doesn't depend on being aligned anymore, so it won't get stuck when only less than 4 samples can be done in a non-final update.
* Convert the device frequency to float just onceChris Robinson2019-02-241-9/+7
|
* Make sure the voice's direct buffer is always setChris Robinson2019-02-241-7/+5
|
* Remove a duplicate index arrayChris Robinson2019-02-241-2/+2
|
* Reduce BUFFERSIZE to match the default period sizeChris Robinson2019-02-241-9/+9
| | | | | 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-226-289/+11
|
* Remove the unused FOAOut EffectTargetChris Robinson2019-02-221-2/+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.