summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Make sure sources are 16-byte alignedChris Robinson2012-08-151-4/+4
| | | | | They contain fields that require 16-byte alignment for SSE (and Neon?) acceleration.
* Don't use all caps for enum value namesChris Robinson2012-06-281-1/+1
|
* Reorganize some ALsource fieldsChris Robinson2012-04-271-17/+17
|
* Couple small error handling fixupsChris Robinson2012-04-241-2/+1
|
* Add try/catch-like macros to handle errors, and convert alSource.c to use themChris Robinson2012-04-231-909/+743
|
* Some alSource.c cleanupsChris Robinson2012-04-211-157/+119
|
* Use a consistent name for the self-id fieldChris Robinson2012-04-191-7/+6
|
* Fix comment and rename the buffer's self-idChris Robinson2012-04-191-2/+2
|
* Remove hungarian notation from sourcesChris Robinson2012-04-191-399/+399
|
* Clear the position fraction when setting a new source offsetChris Robinson2012-04-161-0/+1
|
* Use a double to store the source offset and don't use milliseconds for secondsChris Robinson2012-04-161-25/+16
|
* Remove unused variablesChris Robinson2012-02-171-2/+0
|
* Make sure the source write position is at least 15ms ahead of the readChris Robinson2012-02-161-0/+3
|
* Use more proper enum names for the resamplerChris Robinson2012-02-121-3/+3
|
* Use a proper enum value for setting the default distance modelChris Robinson2012-02-121-1/+1
|
* Rename non_virtual_channels to direct_channelsChris Robinson2012-02-091-7/+7
|
* Use a proper typedef for handling atomic pointer swapsChris Robinson2012-01-011-3/+3
|
* Set AL_STOPPED after setting AL_PLAYING when a source has nothing to playChris Robinson2011-10-151-8/+8
|
* Use sample frames when handling the buffer lengthChris Robinson2011-10-041-63/+53
|
* Centralize the Lookup and Remove macrosChris Robinson2011-09-241-39/+30
|
* Silence some MSVC precision warningsChris Robinson2011-09-221-3/+3
|
* Return int and float config values through a parameterChris Robinson2011-09-181-1/+1
| | | | | This allows the getter functions to return whether or not the option exists without a separate call and check.
* Remove GetLockedContextChris Robinson2011-09-111-12/+29
|
* Use a RWLock to protect access to a buffer instead of the device lockChris Robinson2011-09-111-40/+46
|
* Small fixes to setting the source's direct filter and auxiliary sendChris Robinson2011-09-111-5/+5
|
* Avoid holding the context lock while setting source parametersChris Robinson2011-09-111-37/+74
| | | | Note that some parameters still need the lock when getting or setting them.
* Initialize source parameters before adding the source to the mapChris Robinson2011-09-101-1/+1
|
* Don't defer stopped and initial source state changesChris Robinson2011-09-101-4/+4
| | | | | | | Typically when these are set, an app will be releasing the buffer from the source, possibly to immediately reuse it. There would be an extra burden placed on the app if it was required to process updates before it could fully release the buffer from the source.
* Store the filter gains directly in the source instead of duplicate filter ↵Chris Robinson2011-08-311-10/+22
| | | | objects
* Rename GetReffedContext to GetContextRefChris Robinson2011-08-301-3/+3
|
* Add a limit to the UIntMap size and use it for sources and effect slotsChris Robinson2011-08-301-8/+1
|
* Add functions to retrieve the source from the source map while removing itChris Robinson2011-08-301-7/+4
|
* Lock the context while deleting sources only as neededChris Robinson2011-08-301-6/+14
|
* Don't lock the context while checking the validity of objectsChris Robinson2011-08-301-2/+2
|
* Do a pointer exchange when replacing the source buffer queueChris Robinson2011-08-291-16/+17
|
* Use the reference counting functions for the buffer and auxiliary slot refsChris Robinson2011-08-291-11/+11
|
* Hold the context lock as needed while generating and deleting sourcesChris Robinson2011-08-291-19/+20
|
* Remove the Buffer field from the sourceChris Robinson2011-08-231-24/+15
|
* Explicitly set BufferListStart's prev fieldChris Robinson2011-08-231-1/+1
|
* Always use the thunk functions to get object IDsChris Robinson2011-08-221-4/+4
|
* Don't use the thunk array for object lookupsChris Robinson2011-08-221-7/+7
|
* Defer source offset changes requested by the appChris Robinson2011-08-211-4/+5
|
* Use -1 to mark an invalid source offset instead of 0Chris Robinson2011-08-211-5/+6
|
* Defer source state changes from alSourcePlay/Pause/Stop/Rewind callsChris Robinson2011-08-201-4/+9
|
* Use a separate function to set the source stateChris Robinson2011-08-201-87/+109
|
* Make sure source vectors are finite valuesChris Robinson2011-07-201-12/+27
|
* Fade between HRTF coefficients, to reduce noise from sudden changesChris Robinson2011-07-161-11/+23
|
* Get rid of a couple typedefsChris Robinson2011-07-021-1/+1
|
* Rename Suspend/ProcessContext since they are locking a mutexChris Robinson2011-06-301-42/+42
|
* Add a source property to skip channel virtualization for multi-channel buffersChris Robinson2011-06-291-0/+17
| | | | | | | | | With virtualization disabled, channels are mapped directly from input to output and any input channel that is missing an output is dropped. Any virtualization effects (such as HRTF filters) for positional cues are also skipped. The idea is to allow applications a way to play pre-filtered audio that channel vitualization effects could interfere with.