Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generate the bsinc tables using constexpr methods | Chris Robinson | 2020-04-02 | 1 | -9/+2 |
| | | | | | | | | All the methods used should be compliant with C++14 constexpr rules. However, the number of scales and phases cause GenerateBSincCoeffs to reach the allowed step limit, preventing full compile-time generation. It's not a terribly big deal, it'll generate them very quickly when loading, but it does prevent using shared read-only memory pages. | ||||
* | Rename ALvoice and related structs to Voice | Chris Robinson | 2020-03-28 | 1 | -12/+12 |
| | |||||
* | Dynamically allocate voice channel data | Chris Robinson | 2020-03-25 | 1 | -2/+1 |
| | | | | | | | Rather than allocating for a full 8 channels for each voice, when the vast majority will only need 1 or 2. The voice channel data is relatively big since it needs to hold HRTF coefficients and history, and this will allow increasing the maximum number of buffer channels without an obscene memory increase. | ||||
* | Properly allocate voices | Chris Robinson | 2020-03-22 | 1 | -0/+3 |
| | |||||
* | Use a new voice state to indicate a pending source offset change | Chris Robinson | 2020-03-04 | 1 | -3/+4 |
| | |||||
* | Rename the voice's PendingStop to PendingChange | Chris Robinson | 2020-02-26 | 1 | -1/+1 |
| | |||||
* | Use an array of ALvoice pointers for the active voices | Chris Robinson | 2020-02-21 | 1 | -46/+0 |
| | | | | | | 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. | ||||
* | Add a voice flag to indicate a voice has a pending stop | Chris Robinson | 2020-02-20 | 1 | -4/+7 |
| | | | | Pending/asynchronous stops to be implemented soon. | ||||
* | Handle running the buffer callback in the voice | Chris Robinson | 2020-02-17 | 1 | -8/+11 |
| | |||||
* | Add a callback flag for voices | Chris Robinson | 2020-02-17 | 1 | -3/+6 |
| | |||||
* | Use std::array and span for the HRTF delays | Chris Robinson | 2020-02-08 | 1 | -1/+1 |
| | |||||
* | Get rid of an unnecessary struct | Chris Robinson | 2020-01-13 | 1 | -1/+1 |
| | |||||
* | Start a new extension for a new direct_channels state | Chris Robinson | 2019-12-28 | 1 | -1/+7 |
| | | | | | So existing behavior remains consistent for anything that needs it, and new behavior is opt-in. | ||||
* | Handle the buffer's ambisonic properties | Chris Robinson | 2019-12-02 | 1 | -2/+7 |
| | |||||
* | Store the ambisonic order for the voice | Chris Robinson | 2019-12-01 | 1 | -0/+2 |
| | | | | | Currently only first-order B-Format is possible for a buffer/source, but this will begin to allow for higher orders with an appropriate extension. | ||||
* | Use unsigned for array indices | Chris Robinson | 2019-11-29 | 1 | -1/+1 |
| | |||||
* | More sanely handle the voice state when mixing | Chris Robinson | 2019-10-14 | 1 | -1/+1 |
| | |||||
* | Use std::array instead of plain arrays in a couple places | Chris Robinson | 2019-10-05 | 1 | -4/+6 |
| | |||||
* | Avoid duplicate structs | Chris Robinson | 2019-10-05 | 1 | -8/+3 |
| | |||||
* | Remove an unnecessary struct specifier | Chris Robinson | 2019-10-02 | 1 | -1/+1 |
| | |||||
* | Fix a comment | Chris Robinson | 2019-10-02 | 1 | -1/+1 |
| | |||||
* | Clean up some unnecessary includes | Chris Robinson | 2019-10-02 | 1 | -0/+3 |
| | |||||
* | Clean up some ALfloat -> float | Chris Robinson | 2019-10-02 | 1 | -3/+3 |
| | |||||
* | Move ALvoice from alu.h to a separate header | Chris Robinson | 2019-10-02 | 1 | -0/+293 |