Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid a single function call in a loop | Chris Robinson | 2020-02-21 | 1 | -68/+66 |
| | |||||
* | Use an array of ALvoice pointers for the active voices | Chris Robinson | 2020-02-21 | 5 | -112/+130 |
| | | | | | | This allows growing the array atomically with the mixer since the ALvoice objects themselves don't move, and a new larger array of them can be swapped in without blocking the mixer. | ||||
* | Set the voice's property update after the source ID | Chris Robinson | 2020-02-21 | 1 | -3/+3 |
| | | | | Otherwise the mixer has a chance to throw it out before realizing it's needed. | ||||
* | Handle playing and pausing with VoiceChanges | Chris Robinson | 2020-02-21 | 2 | -71/+84 |
| | |||||
* | Prepare VoiceChange objects one at a time | Chris Robinson | 2020-02-21 | 1 | -62/+35 |
| | |||||
* | Don't unnecessarily count all voices when playing sources | Chris Robinson | 2020-02-21 | 1 | -9/+8 |
| | |||||
* | Asynchronously stop and rewind voices | Chris Robinson | 2020-02-20 | 2 | -39/+46 |
| | |||||
* | Asynchronously stop voices if its source is being deleted | Chris Robinson | 2020-02-20 | 4 | -12/+154 |
| | |||||
* | Add a voice flag to indicate a voice has a pending stop | Chris Robinson | 2020-02-20 | 2 | -6/+11 |
| | | | | Pending/asynchronous stops to be implemented soon. | ||||
* | Add a streaming example using a callback buffer | Chris Robinson | 2020-02-20 | 2 | -0/+442 |
| | |||||
* | Add AL_SOFTX_callback_buffer to the extension list | Chris Robinson | 2020-02-19 | 1 | -0/+4 |
| | |||||
* | Workaround a 32-bit GCC/MinGW TLS bug | Chris Robinson | 2020-02-18 | 1 | -16/+22 |
| | |||||
* | Flag the voice as callback-based when given a callback buffer | Chris Robinson | 2020-02-17 | 1 | -1/+7 |
| | |||||
* | Don't bother looping the calculated source offset | Chris Robinson | 2020-02-17 | 1 | -14/+6 |
| | | | | | The offset shouldn't be in a non-wrapped state when playing, and when not playing it's always 0 anyway. | ||||
* | Don't allow setting a source offset for a callback | Chris Robinson | 2020-02-17 | 1 | -0/+6 |
| | |||||
* | Handle running the buffer callback in the voice | Chris Robinson | 2020-02-17 | 5 | -25/+83 |
| | |||||
* | Add a callback flag for voices | Chris Robinson | 2020-02-17 | 2 | -6/+17 |
| | |||||
* | Prevent queueing a callback buffer | Chris Robinson | 2020-02-17 | 1 | -3/+10 |
| | | | | Also prevent setting it on multiple sources | ||||
* | 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 |
| |