Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a span for a fixed-size array reference | Chris Robinson | 2020-01-13 | 3 | -13/+7 |
| | |||||
* | Add missing include | Chris Robinson | 2020-01-12 | 1 | -0/+1 |
| | |||||
* | Scale the resampled HRTF delays if they exceed the max | Chris Robinson | 2020-01-12 | 1 | -18/+29 |
| | |||||
* | Warn when resampled HRIR delays get clamped | Chris Robinson | 2020-01-12 | 1 | -2/+16 |
| | |||||
* | Blend the whole IR for the interpolated HRIR | Chris Robinson | 2020-01-12 | 1 | -7/+4 |
| | | | | | The SIMD mixers may use a few more elements beyond the irSize, so not limiting the blend to that size can slightly improve the quality for resampled HRIRs. | ||||
* | Fix JACK process callback handling | Chris Robinson | 2020-01-12 | 1 | -50/+48 |
| | | | | | | The callback apparently can't be set after activation, but we can't allocate the ring buffer until after activation when the callback is already getting called. An ugly flag it is, then, I guess. | ||||
* | Don't allocate the ring buffer for JACK before activation | Chris Robinson | 2020-01-11 | 1 | -32/+20 |
| | | | | | | | | | | | | | | It seems the JACK server can send buffer size change events during device reset and wait on it, which causes a failure since the change event can't be processed during a reset. It's otherwise impossible to safely disable the change event callback during a reset since the lock is already held and the callback can be waiting to acquire it. The only guarantee we seem to have is the event callback won't be invoked after jack_activate succeeds. So instead, the buffer size can be queried after jack_activate and the ring buffer allocated then, instead of using an event callback. This does mean the buffer size can change with a start() call, but it's better than a failure to start. | ||||
* | Make CreateRingBuffer a static RingBuffer method | Chris Robinson | 2020-01-10 | 13 | -23/+25 |
| | |||||
* | Fix blending for the right IR delay | Chris Robinson | 2020-01-08 | 1 | -1/+1 |
| | |||||
* | Make sure unassociated voices give back their update structs | Chris Robinson | 2020-01-08 | 1 | -25/+29 |
| | |||||
* | Make sure an unmixable source is properly stopped | Chris Robinson | 2020-01-08 | 1 | -1/+9 |
| | |||||
* | Avoid auto-releasing containers for the global device list | Chris Robinson | 2020-01-07 | 1 | -24/+30 |
| | | | | | | If any are left open at process shutdown, it may try to clean them up, and subsequently close the device. This is dangerous to do at process exit, so don't. The app should have closed the device(s) prior to exiting anyway | ||||
* | Don't blend the B-Format decoder HRIRs | Chris Robinson | 2020-01-07 | 1 | -52/+25 |
| | | | | | | | | Though fine in theory, an issue arises with extra phase interference since the frequency phases aren't aligned for each response. It would be better to do the blending before minimum phase reconstruction, where it can blend just the frequency magnitudes, essentially allowing makemhr to increase the resolution of the dataset. | ||||
* | Use a loop instead of a series of lambda calls | Chris Robinson | 2020-01-05 | 1 | -21/+23 |
| | |||||
* | Simplify post-mix HRTF gain storage | Chris Robinson | 2020-01-05 | 6 | -27/+15 |
| | |||||
* | Finalize AL_SOFT_bformat_ex | Chris Robinson | 2020-01-05 | 2 | -16/+8 |
| | |||||
* | Use temporaries for repeated values | Chris Robinson | 2020-01-05 | 1 | -12/+13 |
| | |||||
* | Avoid more duplicate arrays | Chris Robinson | 2020-01-04 | 1 | -14/+10 |
| | |||||
* | Combine identical arrays | Chris Robinson | 2020-01-04 | 6 | -39/+27 |
| | |||||
* | Use a span instead of an array+size | Chris Robinson | 2020-01-04 | 3 | -20/+12 |
| | |||||
* | Avoid a duplicate array | Chris Robinson | 2020-01-04 | 2 | -10/+4 |
| | |||||
* | Use an array type for the HRIR delay pair | Chris Robinson | 2019-12-30 | 2 | -10/+5 |
| | |||||
* | Load the HRIRs directly into HrirArrays | Chris Robinson | 2019-12-30 | 1 | -34/+45 |
| | |||||
* | Avoid declaring a variable early | Chris Robinson | 2019-12-30 | 1 | -3/+2 |
| | |||||
* | Workaround for MSVC 2015 | Chris Robinson | 2019-12-29 | 1 | -2/+2 |
| | |||||
* | Handle downmixing for mono output | Chris Robinson | 2019-12-29 | 2 | -3/+11 |
| | |||||
* | Ignore direct channels for mono and B-Format buffers | Chris Robinson | 2019-12-29 | 1 | -1/+2 |
| | |||||
* | Make the new direct channel remix extension public | Chris Robinson | 2019-12-28 | 2 | -6/+4 |
| | |||||
* | Start a new extension for a new direct_channels state | Chris Robinson | 2019-12-28 | 3 | -8/+22 |
| | | | | | So existing behavior remains consistent for anything that needs it, and new behavior is opt-in. | ||||
* | Use a span for the band-splitter input | Chris Robinson | 2019-12-25 | 7 | -43/+41 |
| | |||||
* | Pass a span for the biquad filter input | Chris Robinson | 2019-12-25 | 7 | -68/+67 |
| | |||||
* | Fix parameter order | Chris Robinson | 2019-12-25 | 1 | -2/+2 |
| | |||||
* | Make a couple more functions private | Chris Robinson | 2019-12-25 | 1 | -21/+21 |
| | |||||
* | Pass a span to the NFC filters | Chris Robinson | 2019-12-24 | 3 | -22/+16 |
| | |||||
* | Reorganize some function parameters | Chris Robinson | 2019-12-24 | 1 | -13/+13 |
| | |||||
* | Fix a shadowed parameter warning | Chris Robinson | 2019-12-23 | 1 | -9/+10 |
| | |||||
* | Avoid reading a struct field twice | Chris Robinson | 2019-12-23 | 1 | -2/+2 |
| | |||||
* | Make a duration type to handle WASAPI reference times | Chris Robinson | 2019-12-22 | 1 | -34/+36 |
| | |||||
* | Print the unhandled subformat | Chris Robinson | 2019-12-22 | 1 | -54/+54 |
| | |||||
* | Try harder to find a matching WASAPI configuration | Chris Robinson | 2019-12-22 | 1 | -92/+110 |
| | | | | | | As long as the lowest channel bits match the enabled bits for a given configuration, higher bits from any extra channels can be ignored since they can be skipped. | ||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 18 | -55/+78 |
| | | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist. | ||||
* | Use size_t for the compressor channel count | Chris Robinson | 2019-12-21 | 3 | -124/+101 |
| | | | | And general cleanup of the compressor | ||||
* | Use unique setters for biquad filter parameters | Chris Robinson | 2019-12-21 | 8 | -66/+64 |
| | | | | One for whether a slope parameter is used, and one for bandwidth. | ||||
* | Improve gain/hf/lf packing when processing voice updates | Chris Robinson | 2019-12-21 | 1 | -96/+84 |
| | |||||
* | Use a standard bool type | Chris Robinson | 2019-12-19 | 1 | -31/+31 |
| | |||||
* | Remix missing channels with direct channels enabled | Chris Robinson | 2019-12-19 | 3 | -6/+83 |
| | | | | Instead of dropping them. | ||||
* | Don't apply direct channels with mono output | Chris Robinson | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | Don't process direct channel sources with attenuation | Chris Robinson | 2019-12-17 | 1 | -4/+4 |
| | |||||
* | Update a comment since B-Format input isn't always FuMa | Chris Robinson | 2019-12-17 | 1 | -2/+2 |
| | |||||
* | Correctly scale spatialized B-Format sources | Chris Robinson | 2019-12-17 | 1 | -2/+2 |
| |