aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/convolution.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a separate structure for the active effect slot propertiesChris Robinson2020-11-071-4/+6
|
* Support all buffer layouts for convolutionChris Robinson2020-09-221-22/+99
|
* Don't use direct channels with convolutionChris Robinson2020-09-181-19/+5
| | | | | It may come back as an effect property, but it's probably better to not try forcing it by default.
* Allow higher-order B-Format buffers for convolutionChris Robinson2020-09-181-6/+5
| | | | | Only the first-order channels will be used, but higher-order buffers will be allowed.
* Avoid extraneous buffers and buffer clearsChris Robinson2020-09-171-9/+9
|
* Use inline wrappers to clarify forward/inverse FFTsChris Robinson2020-09-131-3/+3
|
* Don't assume iterators are pointersChris Robinson2020-09-091-2/+2
|
* Apply the first convolution segment in the time domainChris Robinson2020-09-091-22/+86
| | | | | | | This avoids an inherent delay from the effect, at the cost of higher CPU use. Having a customizable user-specified delay (with said user ensuring a properly trimmed impulse response) could help alleviate the cost since once the delay exceeds the segment size, the initial FIR filter could be skipped.
* Don't leave the negative frequencies as 0 for inverse FFTChris Robinson2020-09-081-2/+7
|
* Avoid an extraneous ConvolutionFilter sub-objectChris Robinson2020-09-061-112/+90
|
* Rework effect slot buffer settingChris Robinson2020-09-051-16/+13
| | | | | | | | Rather than creating an effect-specific buffer that gets passed along as a property, the buffer is set the effect state when the effect state is created, the device is updated, or the buffer is changed. The buffer can only be set while the effect slot isn't playing, so it won't be changed or updated while the mixer is processing the effect state.
* Move more processing to the ConvolutionFilter structChris Robinson2020-08-311-108/+127
|
* Remove a couple unnecessary pointersChris Robinson2020-08-301-15/+8
|
* Dynamically allocate the convolution channel mixing dataChris Robinson2020-08-301-46/+46
|
* Reorganize some convolution fieldsChris Robinson2020-08-301-21/+18
|
* Calculate the correct number of convolution segmentsChris Robinson2020-08-281-1/+1
|
* Limit convolution processing to the output ambisonic orderChris Robinson2020-08-281-2/+3
|
* Don't dereference a null convolution filterChris Robinson2020-08-281-5/+7
|
* Support B-Format impulse responses for convolutionChris Robinson2020-08-281-17/+107
|
* Pass a BufferStorage to EffectState::createBufferChris Robinson2020-08-281-18/+20
|
* Handle 0-length convolution buffersChris Robinson2020-08-271-0/+3
|
* De-duplicate LoadSampleArray and FmtTypeTraitsChris Robinson2020-08-261-129/+8
|
* Avoid copying the convolution filter history to shift itChris Robinson2020-08-251-10/+18
| | | | | Instead, the current/head/newest segment is tracked, and decremented with each process to overwrite the oldest.
* Initial implementation of the convolution effectChris Robinson2020-08-251-9/+400
| | | | | Currently limited to mono and stereo impulse responses, and stereo IRs try to use direct/real output rather than panning.
* Stub out a convolution effect stateChris Robinson2020-08-241-0/+155