aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use a separate structure for buffer storageChris Robinson2020-08-281-18/+18
|
* De-duplicate LoadSampleArray and FmtTypeTraitsChris Robinson2020-08-261-131/+8
|
* Simplify mixer buffer size saturation handlingChris Robinson2020-07-231-6/+6
|
* Don't round up the dst size when the src size was saturatedChris Robinson2020-06-291-1/+1
|
* Fix SrcBufferSize calculation when downsamplingChris Robinson2020-06-291-20/+36
|
* Fade over more of the update with HRTFChris Robinson2020-05-251-23/+5
|
* Improve HRTF delay handlingChris Robinson2020-05-201-1/+4
| | | | | Ensures source-level HRTF, the dry mix, and direct output all align properly, and simplifies adding the delay in the direct mix output.
* Rename applyHfScale to processHfScaleChris Robinson2020-05-191-1/+1
|
* Use global placement new for AsyncEventChris Robinson2020-04-241-2/+2
|
* Add a method to process two biquads at onceChris Robinson2020-04-231-11/+10
|
* Avoid using some more AL typesChris Robinson2020-04-231-8/+8
|
* Get rid of the specialized MixRow_ methodsChris Robinson2020-04-161-15/+0
|
* Avoid ALfloat in some placesChris Robinson2020-04-081-18/+18
|
* Use structs for the mixer and resampler tagsChris Robinson2020-04-031-0/+9
|
* Rename ALvoice and related structs to VoiceChris Robinson2020-03-281-13/+13
|
* Move some setup to a more logical placeChris Robinson2020-03-251-2/+33
|
* Dynamically allocate voice channel dataChris Robinson2020-03-251-14/+14
| | | | | | | Rather than allocating for a full 8 channels for each voice, when the vast majority will only need 1 or 2. The voice channel data is relatively big since it needs to hold HRTF coefficients and history, and this will allow increasing the maximum number of buffer channels without an obscene memory increase.
* Simplify clamping the voice mix sizeChris Robinson2020-03-231-8/+9
|
* Silence a potential type truncation warningChris Robinson2020-03-221-1/+2
|
* Handle running the buffer callback in the voiceChris Robinson2020-02-171-10/+66
|
* Add a callback flag for voicesChris Robinson2020-02-171-3/+11
|
* Use std::array and span for the HRTF delaysChris Robinson2020-02-081-4/+2
|
* Signal the event handler only once per updateChris Robinson2020-01-141-2/+0
|
* Get rid of an unnecessary structChris Robinson2020-01-131-3/+3
|
* Make sure an unmixable source is properly stoppedChris Robinson2020-01-081-1/+9
|
* Use a loop instead of a series of lambda callsChris Robinson2020-01-051-21/+23
|
* Simplify post-mix HRTF gain storageChris Robinson2020-01-051-13/+5
|
* Use a span for the band-splitter inputChris Robinson2019-12-251-3/+3
|
* Pass a span for the biquad filter inputChris Robinson2019-12-251-23/+23
|
* Pass a span to the NFC filtersChris Robinson2019-12-241-2/+2
|
* Reorganize some function parametersChris Robinson2019-12-241-13/+13
|
* Avoid holding HRTF accumulation samples per-sourceChris Robinson2019-11-031-26/+13
| | | | | | It notably simplifies things to mix HRTF sources into an accumulation buffer together, which the Dry buffer's Ambisonic-to-HRTF decode is then added to, before being mixed to the Real output.
* More sanely handle the voice state when mixingChris Robinson2019-10-141-18/+12
|
* Use std::array instead of plain arrays in a couple placesChris Robinson2019-10-051-17/+15
|
* Avoid duplicate structsChris Robinson2019-10-051-2/+2
|
* Move ALvoice from alu.h to a separate headerChris Robinson2019-10-021-32/+2
|
* Move a couple types to the source they're used inChris Robinson2019-10-021-0/+7
|
* Rename mixvoice.cpp to voice.cppChris Robinson2019-10-021-0/+881