aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-171-2/+2
|
* Prevent queueing a callback bufferChris Robinson2020-02-171-3/+10
| | | | Also prevent setting it on multiple sources
* 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.
* Use struct methods to get a buffer's format infoChris Robinson2020-01-181-8/+8
|
* Combine identical arraysChris Robinson2020-01-041-13/+3
|
* Start a new extension for a new direct_channels stateChris Robinson2019-12-281-4/+5
| | | | | 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
|
* 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-251-7/+5
|
* Separate a couple assignments from conditionalsChris Robinson2019-09-301-1/+2
|
* Use a span for holding the source handlesChris Robinson2019-09-251-39/+51
|
* Make the resampler type an enum classChris Robinson2019-09-221-2/+2
|
* Make the buffer frequency unsignedChris Robinson2019-09-211-3/+2
|
* Clean up some more shadowing warningsChris Robinson2019-09-161-7/+7
|
* Fix a few warnings from MSVCChris Robinson2019-09-141-6/+6
|
* Enable and fix more warningsChris Robinson2019-09-141-14/+16
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-141-3/+3
|
* Make NumAuxSends unsignedChris Robinson2019-09-131-5/+5
|
* Clean up some lambda definitionsChris Robinson2019-09-121-2/+2
|
* Fix source limit checkChris Robinson2019-09-121-2/+3
|
* Fix counting free objectsChris Robinson2019-09-121-1/+1
|
* Clean up implicit conversions in source.cppChris Robinson2019-09-121-1254/+1258
|
* Clean up some more implicit conversionsChris Robinson2019-09-111-58/+55
|
* Use a new voice when restarting a playing sourceChris Robinson2019-09-061-10/+18
|
* Combine two functions into oneChris Robinson2019-09-051-57/+40
|
* Don't set voice properties in ApplyOffsetChris Robinson2019-09-051-23/+42
|
* Use a normal vector for the voices arrayChris Robinson2019-09-041-38/+17
|
* Avoid unnecessary placement new definitionsChris Robinson2019-09-011-6/+1
|
* Ensure AL_STOPPED state change events are sentChris Robinson2019-09-011-2/+5
| | | | With explicit calls to alSourceStop on a playing or paused source
* Hold the source lock in UpdateAllSourcePropsChris Robinson2019-09-011-0/+1
|
* Store the voice fraction offset as unsignedChris Robinson2019-08-311-11/+11
|
* Dereference the correct buffer when destructing a sourceChris Robinson2019-08-211-1/+1
|
* Don't explicitly inline a particular functionChris Robinson2019-08-131-1/+1
|
* Fix some return typesChris Robinson2019-08-121-5/+5
|