Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Set and retrieve a buffer's callback | Chris Robinson | 2020-02-17 | 2 | -8/+147 | |
| | ||||||
* | Stub out an interface for a callback-driven buffer | Chris Robinson | 2020-02-16 | 3 | -0/+63 | |
| | ||||||
* | Always start streaming sources from the start of the queue | Chris Robinson | 2020-02-15 | 1 | -1/+1 | |
| | | | | | | For sources that don't start with an offset, at least. This is necessary so the completed buffer event will give the correct count if it starts with null or empty buffers that become processed. | |||||
* | Update the makemhr utility and default HRTF | Chris Robinson | 2020-02-11 | 2 | -17/+13 | |
| | ||||||
* | Update the MHR format | Chris Robinson | 2020-02-11 | 2 | -28/+202 | |
| | | | | | | | | This update removes the 16/24-bit sample type enum, now always being 24-bit (other than a very small size saving, there's no practical benefit to storing 16-bit samples). This also reverses the field storage, so no on-load fixup is needed, and stores the IR delays with 2 bits of sub-sample precision, allowing for slightly better timing (after resampling, blending, etc). | |||||
* | Scale delays when exceeding the max for generated mhr files | Chris Robinson | 2020-02-10 | 1 | -15/+35 | |
| | ||||||
* | Use a triplet struct array instead of separate arrays | Chris Robinson | 2020-02-09 | 1 | -22/+22 | |
| | ||||||
* | Consistently use distant wavefronts for 0 distance | Chris Robinson | 2020-02-08 | 1 | -6/+3 | |
| | ||||||
* | Clear voice target gains earlier | Chris Robinson | 2020-02-08 | 1 | -11/+12 | |
| | ||||||
* | Use std::array and span for the HRTF delays | Chris Robinson | 2020-02-08 | 4 | -8/+6 | |
| | ||||||
* | Merge pull request #393 from Etwus/patch-1 | kcat | 2020-02-08 | 1 | -1/+0 | |
|\ | | | | | Fix unreachable code warning | |||||
| * | Fix unreachable code warning | Aleš Gajdacz | 2020-02-08 | 1 | -1/+0 | |
|/ | ||||||
* | Make sure stereo angles are kept in-range. | Chris Robinson | 2020-01-31 | 1 | -3/+14 | |
| | ||||||
* | Try harder to find the closest HRIR for the B-Format decoder | Chris Robinson | 2020-01-26 | 1 | -16/+23 | |
| | ||||||
* | Update the default HRTF | Chris Robinson | 2020-01-25 | 1 | -0/+0 | |
| | ||||||
* | Use the peak IR magnitude to get the onset | Chris Robinson | 2020-01-25 | 2 | -19/+7 | |
| | | | | | | | | | | | | While maybe not technically correct, we actually only care about the difference between onsets (any base constant is removed). This should work better since it determines when the IR is most audible, whereas previously it used a variable threshold of when it reached 15% of the max amplitude. An even better method may be to check where the IR amplitude exceeds a fixed threshold (i.e. the same threshold applied to all IRs), but that would need tweaking to find a level that doesn't catch random noise and doesn't potentially miss the more occluded IRs. | |||||
* | Merge pull request #385 from sergeyext/fix_msvc_runtime | kcat | 2020-01-25 | 1 | -1/+3 | |
|\ | | | | | Set static MSVC runtime for cpp files when FORCE_STATIC_VCRT is ON. | |||||
| * | Set static MSVC runtim for cpp files when FORCE_STATIC_VCRT is ON. | Sergey Karchevsky | 2020-01-26 | 1 | -1/+3 | |
|/ | | | | Fixes #384 | |||||
* | Release 1.20.1 | Chris Robinson | 2020-01-23 | 2 | -2/+2 | |
| | ||||||
* | Fix the output channel count for the B-Format decoder | Chris Robinson | 2020-01-19 | 1 | -3/+3 | |
| | ||||||
* | Only sort active effect slots as needed | Chris Robinson | 2020-01-18 | 3 | -7/+29 | |
| | ||||||
* | Use struct methods to get a buffer's format info | Chris Robinson | 2020-01-18 | 3 | -20/+21 | |
| | ||||||
* | Avoid an extraneous index map | Chris Robinson | 2020-01-15 | 3 | -18/+13 | |
| | ||||||
* | Make a couple helper methods to create BFormatDec | Chris Robinson | 2020-01-15 | 2 | -7/+19 | |
| | ||||||
* | Repack B-Format decoder fields | Chris Robinson | 2020-01-15 | 3 | -61/+63 | |
| | | | | This should better provide sequential access. | |||||
* | Transpose BFormatDec's matrices | Chris Robinson | 2020-01-14 | 2 | -65/+31 | |
| | | | | | This allows the band-split and output mix to happen together, rather than splitting all input channels first and then mixing them to output. | |||||
* | Clean up some formating | Chris Robinson | 2020-01-14 | 2 | -17/+19 | |
| | ||||||
* | Simplify appending delayed samples | Chris Robinson | 2020-01-14 | 1 | -6/+6 | |
| | ||||||
* | Signal the event handler only once per update | Chris Robinson | 2020-01-14 | 2 | -36/+40 | |
| | ||||||
* | Inline a couple ring buffer methods | Chris Robinson | 2020-01-14 | 2 | -17/+14 | |
| | ||||||
* | Get rid of an unnecessary struct | Chris Robinson | 2020-01-13 | 3 | -8/+4 | |
| | ||||||
* | Return immediately on error when loading HRTFs | Chris Robinson | 2020-01-13 | 1 | -48/+23 | |
| | ||||||
* | Get the audio sync once per update in alffplay | Chris Robinson | 2020-01-13 | 1 | -29/+27 | |
| | ||||||
* | Make a separate function for duplicate code | Chris Robinson | 2020-01-13 | 1 | -52/+25 | |
| | ||||||
* | Use the Field and Elevation structs directly when loading | Chris Robinson | 2020-01-13 | 1 | -113/+113 | |
| | ||||||
* | Don't assume the total length of certain arrays | Chris Robinson | 2020-01-13 | 1 | -6/+6 | |
| | ||||||
* | 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. | |||||
* | Update changelog | Chris Robinson | 2020-01-12 | 1 | -2/+4 | |
| | ||||||
* | 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 | |
| | ||||||
* | Update changelog | Chris Robinson | 2020-01-08 | 1 | -0/+3 | |
| | ||||||
* | 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 |