Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid redundantly setting voice members | Chris Robinson | 2020-03-04 | 1 | -26/+24 |
| | |||||
* | Don't change flags after InitVoice | Chris Robinson | 2020-03-04 | 1 | -11/+9 |
| | |||||
* | Use a new voice state to indicate a pending source offset change | Chris Robinson | 2020-03-04 | 1 | -6/+7 |
| | |||||
* | Avoid unnecessarily reclearing some variables | Chris Robinson | 2020-03-03 | 1 | -51/+36 |
| | |||||
* | Add a helper to wait for the device mix | Chris Robinson | 2020-03-03 | 2 | -22/+13 |
| | |||||
* | Simplify getting a voice for a new source offset | Chris Robinson | 2020-02-28 | 1 | -17/+21 |
| | |||||
* | Use a VoiceChange object to change the offset of a playing source | Chris Robinson | 2020-02-26 | 1 | -61/+138 |
| | |||||
* | Rename the voice's PendingStop to PendingChange | Chris Robinson | 2020-02-26 | 1 | -6/+6 |
| | |||||
* | Move voice initialization to a separate function | Chris Robinson | 2020-02-26 | 1 | -97/+103 |
| | |||||
* | Avoid storing the source offset when it's just read and reset | Chris Robinson | 2020-02-26 | 1 | -27/+27 |
| | |||||
* | Make the source's send array static instead of dynamic | Chris Robinson | 2020-02-25 | 2 | -17/+10 |
| | |||||
* | Handle playing voices after disconnection | Chris Robinson | 2020-02-24 | 1 | -5/+11 |
| | |||||
* | Improve searching for the next voice when playing multiple sources | Chris Robinson | 2020-02-24 | 1 | -4/+5 |
| | | | | | Instead of searching from the beginning of the voice list for each source, just continue searching from the last source's voice. | ||||
* | Ignore VoiceChange objects while disconnected | Chris Robinson | 2020-02-24 | 1 | -0/+9 |
| | | | | | And try to improve ALvoice/VoiceChange handling when attempting to recover a lost device. | ||||
* | Simplify replaying a source | Chris Robinson | 2020-02-23 | 1 | -6/+3 |
| | |||||
* | Fix voice allocation increase amount | Chris Robinson | 2020-02-22 | 1 | -1/+1 |
| | |||||
* | Remove a couple unnecessary type aliases | Chris Robinson | 2020-02-22 | 1 | -2/+2 |
| | |||||
* | Use an array of ALvoice pointers for the active voices | Chris Robinson | 2020-02-21 | 1 | -25/+34 |
| | | | | | | 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 | 1 | -71/+71 |
| | |||||
* | 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 | 1 | -36/+44 |
| | |||||
* | Asynchronously stop voices if its source is being deleted | Chris Robinson | 2020-02-20 | 1 | -12/+52 |
| | |||||
* | Add a voice flag to indicate a voice has a pending stop | Chris Robinson | 2020-02-20 | 1 | -2/+4 |
| | | | | Pending/asynchronous stops to be implemented soon. | ||||
* | 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 | 3 | -7/+6 |
| | |||||
* | 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 | 1 | -0/+41 |
| | |||||
* | 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. | ||||
* | Only sort active effect slots as needed | Chris Robinson | 2020-01-18 | 1 | -0/+4 |
| | |||||
* | Use struct methods to get a buffer's format info | Chris Robinson | 2020-01-18 | 3 | -20/+21 |
| | |||||
* | Combine identical arrays | Chris Robinson | 2020-01-04 | 1 | -13/+3 |
| | |||||
* | Start a new extension for a new direct_channels state | Chris Robinson | 2019-12-28 | 2 | -5/+6 |
| | | | | | So existing behavior remains consistent for anything that needs it, and new behavior is opt-in. | ||||
* | Check the voice's ambisonic order when starting | Chris Robinson | 2019-12-05 | 1 | -16/+15 |
| | |||||
* | Handle the buffer's ambisonic properties | Chris Robinson | 2019-12-02 | 1 | -1/+7 |
| | |||||
* | Add an interface to set a B-Format buffer's layout and scaling | Chris Robinson | 2019-12-02 | 2 | -0/+35 |
| | |||||
* | Store the ambisonic order for the voice | Chris Robinson | 2019-12-01 | 1 | -0/+1 |
| | | | | | 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. | ||||
* | Avoid static constexpr for arrays iterated over at run-time | Chris Robinson | 2019-10-25 | 3 | -9/+7 |
| | |||||
* | Separate a couple assignments from conditionals | Chris Robinson | 2019-09-30 | 1 | -1/+2 |
| | |||||
* | Remove noexcept from a function that explicitly throws | Chris Robinson | 2019-09-30 | 1 | -1/+2 |
| | |||||
* | Don't let a function end without a return | Chris Robinson | 2019-09-28 | 1 | -7/+8 |
| | |||||
* | Redo resampler strings to be safer | Chris Robinson | 2019-09-28 | 1 | -18/+33 |
| | | | | | Now the name is guaranteed to match the type, and to be ordered as the enum declares. | ||||
* | Add "fast" variants for the bsinc resamplers | Chris Robinson | 2019-09-28 | 1 | -2/+5 |
| | | | | | | This simply omits the scale factor from the filter, similar to how up-sampling does. The consequence of this is less smooth transitions when ramping the pitch while down-sampling, but otherwise behaves fine. | ||||
* | Use a span for holding the source handles | Chris Robinson | 2019-09-25 | 1 | -39/+51 |
| | |||||
* | Make the resampler type an enum class | Chris Robinson | 2019-09-22 | 2 | -9/+10 |
| | |||||
* | Make the buffer frequency unsigned | Chris Robinson | 2019-09-21 | 3 | -7/+6 |
| |