aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/convolution.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use std::byte instead of a custom al::byteChris Robinson2023-05-041-2/+1
|
* Simplify effect state buffer handling someChris Robinson2023-04-041-23/+21
|
* Use macros for the likely/unlikely attributesChris Robinson2023-03-011-2/+2
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Support MSADPCM samples in the mixerChris Robinson2023-02-141-0/+1
|
* Support IMA4 ADPCM as a mixing voice formatChris Robinson2023-02-141-0/+4
|
* Handle UHJ better with convolution reverbChris Robinson2023-01-011-44/+66
| | | | | | It's now decoded to B-Format while being FFT'd, and processed as B-Format. Again, not that UHJ should really ever be used for convolution, but it's a valid format someone may want to use despite the overhead from converting it.
* Avoid some explicit casts and referencesChris Robinson2023-01-011-2/+1
|
* Avoid manually specifying FFT template parametersChris Robinson2022-12-141-3/+3
|
* Use complex floats for convolution reverb FFTsChris Robinson2022-11-241-22/+21
|
* Track if doing 2D mixing onlyChris Robinson2022-09-041-1/+2
| | | | And use it to select the proper HF scales
* Allow different HF scales for 2D mixing/outputChris Robinson2022-09-041-1/+1
| | | | | Not actually used yet, the device needs to track whether it's using 2D or 3D mixing.
* Use the difference in HF scale for upsampling ambisonicsChris Robinson2022-09-031-1/+1
|
* Revert "Don't apply the HF scaling for "upsampling" ambisonics"Chris Robinson2022-09-021-0/+13
| | | | This reverts commit bf3f63fb4c5faa45784d7433d68b7013e29ee2c1.
* Don't apply the HF scaling for "upsampling" ambisonicsChris Robinson2022-08-311-13/+0
| | | | | | | | | | | | Not sure if this is best, but it fixes the issue of upsampling lower orders to higher orders multiple times (mixing lower order to higher order, cutting back to lower order by dropping the extra channels, then upsampling again, applying the HF scale multiple times and messing up the high frequencies/energy vector), as well as having too-strong high frequencies of upsampled content in general. As it is, with the new upsampling method, the lower order signal contributes to some higher order channels, which helps offset the high frequency scaling difference (except first- to second-order, which adds nothing).
* Create and use 2D upsampling matricesChris Robinson2022-08-251-1/+1
|
* Inline a function and remove an unnecessary parameterChris Robinson2022-08-161-1/+1
|
* Remove math_defs.hChris Robinson2022-01-271-2/+5
|
* Start and use a standard-like numbers headerChris Robinson2022-01-271-2/+4
|
* Move the effects base and effectslot to coreChris Robinson2021-12-171-1/+1
|
* Make an inline function to check for 2D ambisonic formatsChris Robinson2021-12-121-1/+1
|
* Add an internal Super Stereo formatChris Robinson2021-12-111-0/+1
| | | | | | | It's not available as an AL buffer format (yet) since I'm not sure how to expose it. Internally it seems fine as a separate channel configuration, but because OpenAL combines the channel configuration and sample type, a flag may work better there.
* Add a UHJ-specific coefficient scaling arrayChris Robinson2021-07-131-2/+7
|
* Update include headersChris Robinson2021-04-271-2/+2
| | | | Don't add alc/ to the include paths.
* Update includesChris Robinson2021-04-271-2/+1
|
* Move BufferStorage and Voice to coreChris Robinson2021-04-271-1/+1
|
* Move GetChannelIdxByName and clean up some more includesChris Robinson2021-04-261-1/+0
|
* Move some functions to coreChris Robinson2021-04-251-1/+17
| | | | And clean up more includes
* Move GetHFOrderScales to a more appropriate placeChris Robinson2021-04-241-2/+1
|
* Create a base the ALCdevice and ALCcontext structsChris Robinson2021-04-241-6/+6
| | | | | A base that contains the API-agnostic data, with ALCdevice and ALCcontext being for AL-specific data.
* Add support for 4-channel UHJChris Robinson2021-03-311-1/+2
| | | | Also add the SOFT moniker to the new macros
* Handle 3-channel UHJ audio buffersChris Robinson2021-03-311-1/+2
|
* Start an interface for providing UHJ audioChris Robinson2021-03-311-1/+20
| | | | Currently only 2-channel UHJ, which gets treated as stereo.
* Store buffer info in the queue entryChris Robinson2021-01-241-20/+20
|
* Avoid global constexpr arraysChris Robinson2021-01-211-11/+11
|
* Add NEON-enhanced FIR loops for convolution and UHJChris Robinson2020-12-311-0/+15
|
* Return an intrusive_ptr from EffectStateFactory::createChris Robinson2020-12-281-1/+2
|
* Avoid including voice.h in alcontext.hChris Robinson2020-12-271-0/+1
|
* Combine EffectState::deviceUpdate with setBufferChris Robinson2020-12-261-7/+2
|
* Add a crossover frequency field for the deviceChris Robinson2020-12-261-1/+1
| | | | | | Used when upsampling low-order ambisonic signals to higher order. Rather than a hardcoded 400hz, it ensures a consistent crossover point when an ambdec configuration is used. It can also allow for an alsoft config option.
* Update a comment and type used in the convolution effectChris Robinson2020-12-251-11/+11
|
* Rename From2D to FromACN2DChris Robinson2020-12-251-1/+1
|
* Avoid AL types and enums in the effect processorsChris Robinson2020-12-241-5/+4
|
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Move fmt_traits to coreChris Robinson2020-12-131-1/+1
|
* Move ambidefs.h to coreChris Robinson2020-12-121-1/+1
|
* Use a smaller FFT for convolutionChris Robinson2020-12-051-3/+3
|
* Change some macros into constexpr variablesChris Robinson2020-12-041-4/+4
|
* Move the filters to coreChris Robinson2020-12-041-2/+2
|
* Move AL EffectProp handling to separate sourcesChris Robinson2020-11-251-93/+1
|
* Use a separate structure for the active effect slot propertiesChris Robinson2020-11-071-4/+6
|