aboutsummaryrefslogtreecommitdiffstats
path: root/al
Commit message (Collapse)AuthorAgeFilesLines
* Avoid redundantly setting voice membersChris Robinson2020-03-041-26/+24
|
* Don't change flags after InitVoiceChris Robinson2020-03-041-11/+9
|
* Use a new voice state to indicate a pending source offset changeChris Robinson2020-03-041-6/+7
|
* Avoid unnecessarily reclearing some variablesChris Robinson2020-03-031-51/+36
|
* Add a helper to wait for the device mixChris Robinson2020-03-032-22/+13
|
* Simplify getting a voice for a new source offsetChris Robinson2020-02-281-17/+21
|
* Use a VoiceChange object to change the offset of a playing sourceChris Robinson2020-02-261-61/+138
|
* Rename the voice's PendingStop to PendingChangeChris Robinson2020-02-261-6/+6
|
* Move voice initialization to a separate functionChris Robinson2020-02-261-97/+103
|
* Avoid storing the source offset when it's just read and resetChris Robinson2020-02-261-27/+27
|
* Make the source's send array static instead of dynamicChris Robinson2020-02-252-17/+10
|
* Handle playing voices after disconnectionChris Robinson2020-02-241-5/+11
|
* Improve searching for the next voice when playing multiple sourcesChris Robinson2020-02-241-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 disconnectedChris Robinson2020-02-241-0/+9
| | | | | And try to improve ALvoice/VoiceChange handling when attempting to recover a lost device.
* Simplify replaying a sourceChris Robinson2020-02-231-6/+3
|
* Fix voice allocation increase amountChris Robinson2020-02-221-1/+1
|
* Remove a couple unnecessary type aliasesChris Robinson2020-02-221-2/+2
|
* Use an array of ALvoice pointers for the active voicesChris Robinson2020-02-211-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 IDChris Robinson2020-02-211-3/+3
| | | | Otherwise the mixer has a chance to throw it out before realizing it's needed.
* Handle playing and pausing with VoiceChangesChris Robinson2020-02-211-71/+71
|
* Prepare VoiceChange objects one at a timeChris Robinson2020-02-211-62/+35
|
* Don't unnecessarily count all voices when playing sourcesChris Robinson2020-02-211-9/+8
|
* Asynchronously stop and rewind voicesChris Robinson2020-02-201-36/+44
|
* Asynchronously stop voices if its source is being deletedChris Robinson2020-02-201-12/+52
|
* Add a voice flag to indicate a voice has a pending stopChris Robinson2020-02-201-2/+4
| | | | Pending/asynchronous stops to be implemented soon.
* Flag the voice as callback-based when given a callback bufferChris Robinson2020-02-171-1/+7
|
* Don't bother looping the calculated source offsetChris Robinson2020-02-171-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 callbackChris Robinson2020-02-171-0/+6
|
* Handle running the buffer callback in the voiceChris Robinson2020-02-173-7/+6
|
* Prevent queueing a callback bufferChris Robinson2020-02-171-3/+10
| | | | Also prevent setting it on multiple sources
* Set and retrieve a buffer's callbackChris Robinson2020-02-172-8/+147
|
* Stub out an interface for a callback-driven bufferChris Robinson2020-02-161-0/+41
|
* Always start streaming sources from the start of the queueChris Robinson2020-02-151-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 neededChris Robinson2020-01-181-0/+4
|
* Use struct methods to get a buffer's format infoChris Robinson2020-01-183-20/+21
|
* Combine identical arraysChris Robinson2020-01-041-13/+3
|
* Start a new extension for a new direct_channels stateChris Robinson2019-12-282-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 startingChris Robinson2019-12-051-16/+15
|
* Handle the buffer's ambisonic propertiesChris Robinson2019-12-021-1/+7
|
* Add an interface to set a B-Format buffer's layout and scalingChris Robinson2019-12-022-0/+35
|
* Store the ambisonic order for the voiceChris Robinson2019-12-011-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-timeChris Robinson2019-10-253-9/+7
|
* Separate a couple assignments from conditionalsChris Robinson2019-09-301-1/+2
|
* Remove noexcept from a function that explicitly throwsChris Robinson2019-09-301-1/+2
|
* Don't let a function end without a returnChris Robinson2019-09-281-7/+8
|
* Redo resampler strings to be saferChris Robinson2019-09-281-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 resamplersChris Robinson2019-09-281-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 handlesChris Robinson2019-09-251-39/+51
|
* Make the resampler type an enum classChris Robinson2019-09-222-9/+10
|
* Make the buffer frequency unsignedChris Robinson2019-09-213-7/+6
|