Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Invert a check to put the first taken path first | Chris Robinson | 2022-03-31 | 1 | -11/+11 |
| | |||||
* | Make and use a processHfScale function with a separate output | Chris Robinson | 2022-03-31 | 3 | -6/+44 |
| | |||||
* | Replace a few asserts with actual checks or ASSUME() | Chris Robinson | 2022-03-30 | 1 | -1/+2 |
| | |||||
* | Remove the reversed all-pass trick in MixDirectHrtfBase | Chris Robinson | 2022-03-30 | 5 | -48/+11 |
| | | | | Given the minimum phase HRTF, it's not going to stay linear phase anyway. | ||||
* | Make and use a Default enum for StereoEncoding | Chris Robinson | 2022-03-29 | 1 | -2/+4 |
| | |||||
* | Fix for some missing macros | Chris Robinson | 2022-03-10 | 1 | -0/+5 |
| | |||||
* | Use proper macros instead of magic numbers | Chris Robinson | 2022-03-09 | 1 | -3/+3 |
| | |||||
* | Avoid a divide-by-zero in UhjDecoder::decodeStereo | Chris Robinson | 2022-03-07 | 1 | -4/+4 |
| | |||||
* | Fix an unused parameter warning | Chris Robinson | 2022-02-23 | 1 | -1/+6 |
| | | | | ... when either pthread_setschedparam or RTKit aren't available. | ||||
* | Explicitly define AmbDecConf's destructor | Chris Robinson | 2022-02-22 | 2 | -0/+5 |
| | | | | | | GCC complains it can't inline the destructor because it's "unlikely" to be called and would bloat code size, despite being implicitly defined. Technically accurate, but rather annoying since it's not explicitly called or defined. | ||||
* | Avoid using an if_constexpr macro | Chris Robinson | 2022-02-22 | 1 | -19/+34 |
| | | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead. | ||||
* | Handle AirAbsorptionGainHF as a native context property | Chris Robinson | 2022-02-08 | 1 | -1/+5 |
| | |||||
* | Combine listener and context updates | Chris Robinson | 2022-02-08 | 2 | -31/+7 |
| | |||||
* | Remove extra ';' after member function definition (#652) | Jan Niklas Hasse | 2022-01-31 | 1 | -1/+1 |
| | | | Found using -Wextra-semi warning. | ||||
* | Get rid of MathDefs | Chris Robinson | 2022-01-27 | 7 | -30/+31 |
| | |||||
* | Start and use a standard-like numbers header | Chris Robinson | 2022-01-27 | 1 | -5/+5 |
| | |||||
* | Handle _gettid on FreeBSD | Chris Robinson | 2022-01-18 | 5 | -82/+77 |
| | | | | And simplify handling D-Bus/RTKit interfaces | ||||
* | Set niceness as a fallback only on Linux | Chris Robinson | 2022-01-18 | 1 | -0/+9 |
| | | | | | | | If pthread_setschedparam and rtkit_make_realtime both fail, lowering niceness can also work to boost priority. However, this only works on Linux and other OSs that implement a per-thread niceness (POSIX standard has it per-process, which isn't desirable behavior here). | ||||
* | Avoid passing a function pointer to std::call_once | Chris Robinson | 2022-01-18 | 1 | -1/+1 |
| | |||||
* | Handle the rt-prio config options as the priority level | Chris Robinson | 2022-01-18 | 1 | -82/+111 |
| | |||||
* | Explicitly default the band splitter's copy assignment | Chris Robinson | 2022-01-11 | 1 | -0/+1 |
| | |||||
* | Slightly improve handling of stopping voices | Chris Robinson | 2022-01-08 | 1 | -19/+27 |
| | |||||
* | Remove extra ';' after member function definition (#634) | Jan Niklas Hasse | 2022-01-04 | 1 | -1/+1 |
| | | | Found using -Wextra-semi warning. | ||||
* | Don't mix higher orders of B-Format than the device is doing | Chris Robinson | 2022-01-02 | 1 | -2/+2 |
| | |||||
* | Use an span of pointers instead of arrays for mixing | Chris Robinson | 2022-01-01 | 1 | -93/+94 |
| | |||||
* | Pass a span of pointers to the UHJ/SuperStereo decoder | Chris Robinson | 2022-01-01 | 4 | -23/+29 |
| | |||||
* | Use a bitset instead of a plain uint for flags | Chris Robinson | 2021-12-23 | 2 | -24/+29 |
| | |||||
* | Don't swallow up buffer callback samples when pausing | Chris Robinson | 2021-12-18 | 1 | -11/+17 |
| | |||||
* | Don't update voice sample histories when stopping/pausing | Chris Robinson | 2021-12-18 | 1 | -24/+25 |
| | | | | | Since a voice pausing is on a fade-out, and will replay the same samples again when restarting and fading in. | ||||
* | Move some more context functions to the proper source | Chris Robinson | 2021-12-17 | 2 | -1/+80 |
| | |||||
* | Move the effects base and effectslot to core | Chris Robinson | 2021-12-17 | 3 | -0/+318 |
| | |||||
* | Move some ContextBase function definitions to the right place | Chris Robinson | 2021-12-17 | 1 | -0/+70 |
| | |||||
* | Remove an unnecessary parameter | Chris Robinson | 2021-12-17 | 1 | -1/+1 |
| | |||||
* | Allocate voice properties in clusters | Chris Robinson | 2021-12-17 | 2 | -1/+5 |
| | |||||
* | Rename Voice::mNumChannels for clarity | Chris Robinson | 2021-12-15 | 2 | -6/+6 |
| | |||||
* | Add source properties for Super Stereo | Chris Robinson | 2021-12-15 | 3 | -7/+22 |
| | | | | | When playing a stereo format, enabling Super Stereo causes the source to behave as a B-Format source, with a variable width control. | ||||
* | Minor UHJ coefficient scaling precision improvement | Chris Robinson | 2021-12-13 | 1 | -3/+3 |
| | |||||
* | Make an inline function to check for 2D ambisonic formats | Chris Robinson | 2021-12-12 | 2 | -3/+7 |
| | |||||
* | Avoid initializing the NFC filter for every voice channel | Chris Robinson | 2021-12-11 | 3 | -72/+56 |
| | | | | | | It can be initialized once with the device's speaker distance since it won't change in between resets, then copied into the voice where it can be adjusted as needed. | ||||
* | Add an internal Super Stereo format | Chris Robinson | 2021-12-11 | 5 | -12/+49 |
| | | | | | | | 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. | ||||
* | Use a vector in BFormatDec instead of FlexArray | Chris Robinson | 2021-12-10 | 2 | -5/+11 |
| | | | | | | FlexArray would be better since it's not likely to use much memory for the array, but the std::unique_ptr makes BFormatDec a non-standard layout, causing GCC and Clang to complain. | ||||
* | Remove unnecessary lines | Chris Robinson | 2021-12-10 | 1 | -3/+0 |
| | |||||
* | Improve the 2-channel UHJ response | Chris Robinson | 2021-12-09 | 4 | -4/+73 |
| | | | | | | This attempts to correct for the differences needed for 2-channel UHJ's shelf filters given the output shelf filters. It's far from ideal, but better than nothing. | ||||
* | Add a function for Super Stereo conversions | Chris Robinson | 2021-12-09 | 2 | -0/+97 |
| | | | | | | | a.k.a. Stereo Enhance. A common feature of UHJ decoders to take a plain stereo signal and generate a B-Format signal with variable width control, widening (or narrowing) the soundfield while maintaining a sharp central image. | ||||
* | Slight update to the UHJ coefficients | Chris Robinson | 2021-11-28 | 1 | -12/+12 |
| | | | | | | | The extended precision of the encoder's 0.6512*X term was guesswork, with no real basis for it. Switch back to the original value until something better actually comes up. Also updates the decoder to account for the change in the encoder. | ||||
* | Avoid passing spans unnecessarily | Chris Robinson | 2021-11-25 | 2 | -6/+6 |
| | |||||
* | Don't assume the UhjDecoder::decode offset is 16-byte aligned | Chris Robinson | 2021-11-25 | 1 | -6/+6 |
| | | | | It's not, it's MaxResamplerEdge which is currently 24. | ||||
* | Use a base for the UhjEncoder/Decoder common properties | Chris Robinson | 2021-11-25 | 2 | -18/+16 |
| | |||||
* | Slightly improve logging on Windows | Chris Robinson | 2021-11-21 | 1 | -2/+2 |
| | | | | | The characters won't display properly if the system codepage isn't UTF-8, but at least it shouldn't cut the line off prematurely. | ||||
* | Downgrade some ERRs to WARNs | Chris Robinson | 2021-11-21 | 1 | -1/+1 |
| |