aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Use a map to store sources and buffersChris Robinson2010-05-011-65/+52
| | | | And do a lookup using a binary search instead of linear
* Use doubles instead of floats for the source offset calculationsChris Robinson2010-04-281-42/+42
|
* Get the offset even if the current buffer is 0Chris Robinson2010-04-281-5/+14
|
* Combine two loops into oneChris Robinson2010-04-231-12/+7
|
* Avoid reading buffer 0's sizeChris Robinson2010-04-101-1/+2
|
* Shorten some variable namesChris Robinson2010-03-261-268/+268
|
* Reduce some indentationChris Robinson2010-03-241-455/+407
|
* Avoid calling alDelete* from alGen*Chris Robinson2010-03-201-1/+11
|
* Don't use deprecated macrosChris Robinson2010-03-191-25/+25
|
* GetSourceOffset can't failChris Robinson2010-03-171-27/+12
|
* Handle source offsets for muLaw formatsChris Robinson2010-03-171-11/+31
|
* Remove unnecessary stop callChris Robinson2010-03-161-2/+0
|
* Remove unused variableChris Robinson2010-03-161-3/+0
|
* Avoid some alIs* calls while under the context lockChris Robinson2010-03-161-80/+58
| | | | | Instead, use functions that verify the ID by searching the object list and returning its handle
* Pass the context to alSetErrorChris Robinson2010-03-161-84/+84
|
* Rename some struct members for consistencyChris Robinson2010-03-161-6/+6
|
* Avoid dereferencing a NULL buffer when unqueueing buffer 0Chris Robinson2010-03-151-3/+7
|
* Remove duplication of setting source anglesChris Robinson2010-03-141-20/+2
|
* Fix the retrieval of the RW offsets using the correct functionsChris Robinson2010-03-101-30/+31
|
* Improve source write offset calculationsChris Robinson2010-02-071-9/+19
|
* Consolidate some source offset handling codeChris Robinson2010-01-121-38/+12
|
* Better handle large second offsetsChris Robinson2010-01-121-2/+2
|
* Don't use a flag to set an error when applying the source offsetChris Robinson2010-01-121-43/+48
|
* Add an option for point resamplingChris Robinson2010-01-111-0/+2
|
* Mark the source for updating when setting a buffer on itChris Robinson2009-12-251-0/+7
| | | | | | Changing the buffer can change the playback format, which can require different source parameter calculations. Queueing a buffer on a source that has no buffers (or only buffers without a format, eg. buffer 0) has the same effect
* Fix IMA ADPCM offset calculationChris Robinson2009-12-091-2/+2
|
* Internally store 32-bit float buffer data, and mix accordinglyChris Robinson2009-12-071-1/+1
|
* Remove some assumptions of 16-bit internal storageChris Robinson2009-12-021-31/+53
|
* Remove unnecessary returnsChris Robinson2009-11-281-4/+0
|
* Update AL_EXTX_source_distance_model to require explicit enablingChris Robinson2009-11-271-5/+6
| | | | The in-progress spec has been updated to reflect this
* Update source parameters only when they need changingChris Robinson2009-11-251-0/+68
|
* Remove some unneeded buffer fields, make padding a constant amountChris Robinson2009-10-251-5/+3
|
* Remove the format and frequency from the source, get them manuallyChris Robinson2009-10-251-6/+0
|
* Store the buffer format and frequency in the source when updatedChris Robinson2009-10-251-0/+6
|
* Remove unneeded bufferlistitem propertiesChris Robinson2009-10-251-90/+5
|
* Dereference left over buffers and slots when sources are releasedChris Robinson2009-10-241-1/+22
|
* Store the buffer handle directly in the source and buffer queue listChris Robinson2009-10-221-60/+64
|
* Remove unused source fieldsChris Robinson2009-10-211-12/+0
|
* Check the source start position in alSourcePlayv instead of the mixerChris Robinson2009-09-241-2/+6
|
* Don't allow setting an invalid auxiliary sendChris Robinson2009-09-211-2/+3
|
* Add base support for ALC_EXT_disconnectChris Robinson2009-08-261-0/+16
| | | | Individual backends need to be updated to handle disconnection events
* Print source and auxiliary slot debug warnings from alcDestroyContextChris Robinson2009-08-161-5/+0
|
* Modify some context checksChris Robinson2009-08-161-664/+511
|
* Use a function to retrieve the current context in an already-locked stateChris Robinson2009-08-161-63/+21
| | | | | This should help prevent race-conditions with a context being destroyed between breing retrieved and locked
* Reset the buffer played count when the queue is removed via the AL_BUFFER ↵Chris Robinson2009-08-111-0/+1
| | | | property
* Update queued buffer states when source looping is toggledChris Robinson2009-08-111-0/+13
|
* Remove more unneeded variablesChris Robinson2009-07-071-10/+0
|
* Remove unneeded variablesChris Robinson2009-07-071-29/+0
|
* Pay attention to the MAX_SENDS valueChris Robinson2009-04-111-1/+2
|
* The room rolloff factor can go up to 10Chris Robinson2009-03-131-1/+1
|