aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Don't use INT_MAX for unknown span lengthsChris Robinson2019-08-111-26/+24
| | | | | 32-bit doesn't like it, for some reason. Use the largest possible length it could be.
* Remove multiple buffers per queue itemChris Robinson2019-08-111-203/+49
| | | | And simplify related code
* Fix array access indexChris Robinson2019-08-101-1/+1
|
* Update some more includesChris Robinson2019-08-061-0/+1
|
* Modify LIKELY and UNLIKELY to not need extra parenthesisChris Robinson2019-08-041-134/+134
|
* Pass spans to the source get-property methodsChris Robinson2019-08-031-268/+165
|
* Pass spans to the source set-property methodsChris Robinson2019-08-031-219/+212
| | | | | This avoids an extra property check to get the size since the number of values can be checked when accessed.
* Use an unsigned voice indexChris Robinson2019-08-021-13/+4
|