aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle the delays specified in SOFA filesChris Robinson2022-10-101-44/+55
|
* Fix an ambisonic layout check in alffplayChris Robinson2022-09-241-1/+1
|
* Move some comments to a more appropriate placeChris Robinson2022-09-231-32/+32
|
* Avoid another potential overflowChris Robinson2022-09-231-1/+1
|
* Fixed bug and possible overflow type (#771)Herman Semenov2022-09-232-2/+2
|
* Remove unnecessary includes and forward declarationsChris Robinson2022-09-231-7/+0
|
* Remove an unnecessary includeChris Robinson2022-09-221-1/+0
|
* Use PulseAudio's threaded mainloop instead of a custom oneChris Robinson2022-09-221-141/+160
|
* Remove an unused variableChris Robinson2022-09-201-10/+9
|
* Clear the buffer loop element when out of the loop rangeChris Robinson2022-09-181-2/+3
|
* Correctly check if a multi-channel decoder is setChris Robinson2022-09-161-1/+1
|
* Update the built-in quad and 7.1 decodersChris Robinson2022-09-161-26/+26
| | | | | Make them first- and second-order respectively. They don't have enough speakers to really be suitable for higher orders than that.
* Clear trailing whitespace from the loaded ambdec descriptionChris Robinson2022-09-151-0/+2
|
* Use the correct va_list for the second vsnprintfChris Robinson2022-09-141-1/+1
|
* Add vcpkg installation instructions (#768)JonLiu19932022-09-141-0/+13
|
* Use ifstream's wchar_t constructors on WindowsChris Robinson2022-09-123-173/+20
| | | | MinGW seems to have added them a while ago, so that greatly simplifies things.
* Don't pack ambdec coefficientsChris Robinson2022-09-122-68/+25
| | | | | | | | | Tne coefficients are placed as for full 3D ACN handling. The ChanMask just indicates which have potentially useful values. This could be a bit more agressive and clear ChanMask bits for channels that don't contribute to output, so that a decoder the specifies height-related channel bits, but leaves their coefficients all 0, can be handled as 2D. I don't expect many ambdec files to be like that, though.
* Simplify ambdec loadingChris Robinson2022-09-121-236/+156
|
* Ensure coeff_scale is set for ambdec filesChris Robinson2022-09-113-6/+13
|
* Reject ambdec files with higher than third order and FuMa scalingChris Robinson2022-09-111-13/+15
|
* Recognize void(pthread_t,const char*)Chris Robinson2022-09-091-1/+6
|
* tvos support (#762)Paulo Coutinho2022-09-041-1/+1
|
* Track if doing 2D mixing onlyChris Robinson2022-09-046-8/+20
| | | | And use it to select the proper HF scales
* Allow different HF scales for 2D mixing/outputChris Robinson2022-09-045-7/+27
| | | | | 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-035-34/+32
|
* Update the second-order upsampler HF scaleChris Robinson2022-09-021-1/+1
|
* Revert "Don't apply the HF scaling for "upsampling" ambisonics"Chris Robinson2022-09-025-16/+119
| | | | This reverts commit bf3f63fb4c5faa45784d7433d68b7013e29ee2c1.
* Use an icosahedron for 3D second-orderChris Robinson2022-09-014-66/+62
|
* Don't apply the HF scaling for "upsampling" ambisonicsChris Robinson2022-08-315-119/+16
| | | | | | | | | | | | 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).
* Use a more precise 3D7.1 decoderChris Robinson2022-08-302-26/+26
|
* Use predefined variables to handle 1/sqrt(3)Chris Robinson2022-08-301-44/+45
|
* Do a simplified update for reverb when not fadingChris Robinson2022-08-291-49/+48
|
* Always fade the main early and late delay tapsChris Robinson2022-08-291-8/+33
| | | | | | | | | These were actually missing from the current check for fading. But the EFX documentation suggests these (along with the early/late gain and panning) can be adjusted often without invoking a full change, as dynamically modeling an environment would continually change these properties as the listener moves around (changing the direction and distance to the reflective surfaces). So ensuring they're kept up-to-date would be the way to go.
* Update reverb processingChris Robinson2022-08-291-285/+290
| | | | | | | | | | | | | Separate the core delay line into early and late input delay lines. This will be necessary to allow a second late reverb processing loop to decay after a change. Also ensure the early reflection delay line is long enough to write in MAX_UPDATE_SAMPLES first without interfering with the subsequent read. And ensure the modulation delay doesn't cause an underflow on the feedback offset. Finally, move the loop inside the processing functions to minimize loop iterations.
* Use a bind statement instead of a lambdaChris Robinson2022-08-291-2/+4
|
* Allow the remix tables to be variable lengthChris Robinson2022-08-282-10/+10
|
* More updates for making an OSX frameworkChris Robinson2022-08-281-2/+3
|
* Fix OSX framework versionsChris Robinson2022-08-281-2/+2
|
* Upsample the reverb output as neededChris Robinson2022-08-271-35/+94
|
* Add a 2D fourth-order upsamplerChris Robinson2022-08-273-1/+56
| | | | This will be necessary for 2D fourth-order sources with 3D fourth-order output.
* Fix variable nameChris Robinson2022-08-262-3/+3
|
* Don't mark a non-constexpr-able function as constexprChris Robinson2022-08-261-1/+1
| | | | | It can't be constexpr because it needs write access to an std::array, and because of std::sqrt.
* Simplify calculating the ambisonic rotator coefficientsChris Robinson2022-08-261-34/+33
|
* 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
|