aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix W input mixing when non-0 coverageChris Robinson2022-08-261-15/+25
| | | | | | When upsampling certain ambisonic formats, the W channel may contribute to other output channels even with full coverage. Make sure they're taken into account.
* Create and use 2D upsampling matricesChris Robinson2022-08-256-20/+185
|
* Apply the upsampler before rotationChris Robinson2022-08-251-84/+23
| | | | | | | | Although this will necessitate applying a full device-order rotation for all ambisonic sources, it should be slightly better since it's effectively rotated after being mixed to higher order. This will also allow using more optimized upsamplers for 2D ambisonic sources vs 3D (while still allowing the sources to be rotated in 3D).
* Don't include the full path for frameworks to linkChris Robinson2022-08-211-4/+7
|
* Update alffplay to support newer ffmpeg versionsChris Robinson2022-08-203-141/+150
|
* Create a proper third-order upsampler matrixChris Robinson2022-08-191-5/+63
| | | | | This is just an identity matrix for now, since with third-order mixing, it results in a matrix being multiplied with it's inverse.
* Skip LFE for aux send gains with Direct ChannelsChris Robinson2022-08-181-0/+4
|
* Fix the channel spread for aux send gains with full HRTFChris Robinson2022-08-181-1/+1
|
* Inline and precompute some CalcDirectionCoeffs callsChris Robinson2022-08-187-8/+20
|
* Avoid duplicate codeChris Robinson2022-08-183-77/+56
|
* rtkit: match includes with code (#752)Rosen Penev2022-08-181-1/+2
| | | | | | | | | These headers are used for __gettid. Match the if with the code. Fixes compilation under MinGW. Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Fix the ringbuffer write sizeChris Robinson2022-08-181-1/+1
|
* Use an intermediate buffer for writing to the ringbufferChris Robinson2022-08-181-26/+11
| | | | | It doesn't seem as though AudioUnitRender likes being given two buffers to render/capture samples into segmented memory.
* Pass the action flags to AudioUnitRender from the callbackChris Robinson2022-08-171-3/+2
|
* Inline a function and remove an unnecessary parameterChris Robinson2022-08-165-32/+23
|
* Pass the bus number to AudioUnitRender from the callbackChris Robinson2022-08-161-2/+2
|
* Use proper array sizes for more gainsChris Robinson2022-08-1515-26/+30
|
* Use amplitude-matching HF scaling for non-FOA HRTF outputChris Robinson2022-08-151-4/+4
|
* Use the proper type for a global definitionChris Robinson2022-08-151-9/+11
| | | | | Some compilers don't seem to like auto deduction for defining a declared variable.
* Update in incorrect commentChris Robinson2022-08-151-1/+1
|
* Use a decode-encode method for ambisonic upsamplingChris Robinson2022-08-153-22/+283
| | | | | | | | This should allow for clearer and less diffuse responses. While a cube is in the blindspots for second-order, resulting in an identify transform for first- to-second-order, they do start contributing to third-order channels, which should make for sharper virtual points. The fixed HF scales should also play nicer with larger order upmixes.
* Use the right array size for the mixing parametersChris Robinson2022-08-141-1/+1
|
* Update some arrays in preparation for fourth order supportChris Robinson2022-08-142-6/+11
|
* Update the default HRTFChris Robinson2022-08-133-4/+2
| | | | | The sample rate is now 48khz to match the library's default sample rate, and increased the FIR length to 64 points from 32.
* Move a member variable to the struct it's neededChris Robinson2022-08-091-2/+2
|
* Rename the UHJ filter config optionChris Robinson2022-08-092-7/+7
|
* Add an option for higher quality UHJ filtersChris Robinson2022-08-086-19/+67
|
* Parameterize the UHJ filter lengthChris Robinson2022-08-077-40/+101
|
* Clear the buffer from X-RAM before updating its sizeChris Robinson2022-08-051-0/+3
|
* Avoid putting a 1KB array on the stackChris Robinson2022-08-022-7/+10
|
* Rework multi-channel source radius handlingChris Robinson2022-08-021-50/+118
| | | | | | | | Rather than applying the calculated spread to each virtual channel, the spread indicates how much the virtual channels surround the listener. At full spread, the channels retain their virtual speaker positions, while at no spread, all channels converge on the source position. This behavior is more consistent with B-Format sources.
* Change an inline function to a class methodChris Robinson2022-08-024-16/+15
|
* Simplify calculating nearest HRIR indexChris Robinson2022-08-021-8/+1
|
* Check the channel count for a valid DecoderViewChris Robinson2022-08-021-1/+1
| | | | | Ambisonic decoders can be zeroth order, but they need at least one output channel.
* Add media class for Audio/Source/Virtual as a valid node (#747)Eir W2022-08-021-1/+6
|
* Add missing include for FreeBSDChris Robinson2022-07-291-0/+3
|
* AllocEffectSlot can't failChris Robinson2022-07-291-17/+3
|
* Use an intrusive_ptr to hold on to the EffectStateChris Robinson2022-07-293-9/+7
|
* Ensure some mixing buffers are aligned for SIMDChris Robinson2022-07-262-2/+2
|
* Mark the EffectSlot in use after getting oneChris Robinson2022-07-261-0/+1
|
* Avoid __try on ARMv7 targets with MSVCChris Robinson2022-07-241-1/+4
|
* Fix a typo in a commentChris Robinson2022-07-221-2/+2
|
* Don't assume rlim_t is unsignedChris Robinson2022-07-221-3/+4
|
* Update a config comment about the default sample rateChris Robinson2022-07-211-1/+1
|
* Use the reverb air absorption for the send pathsChris Robinson2022-07-191-9/+7
|
* Silence an inline failure warning with GCCChris Robinson2022-07-191-0/+4
|
* Declare variables closer to where they're usedChris Robinson2022-07-181-4/+2
|
* Remove a redundant checkChris Robinson2022-07-171-3/+0
| | | | | | If src_occlusion_mb is 0, it'll be multiplied with whatever the ratio ends up being, which will result in 0 anyway. A number of uses also already check the occlusion value before calling the method.
* Fix parameter signednessChris Robinson2022-07-172-2/+2
|
* Update some outdated docsChris Robinson2022-07-172-16/+8
|