aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alListener.h
Commit message (Collapse)AuthorAgeFilesLines
* Move some headers out of the Include subdirectoryChris Robinson2019-07-281-59/+0
|
* Use relaxed memory ordering for initializing atomic_flagsChris Robinson2019-02-041-1/+1
|
* Fix compiling problems on VS2019 with vc142 toolsetMinmin Gong2019-02-041-1/+3
| | | | Msvc142 in VS2019 preview 2 doesn't allow std::atomic_flag to be initialized by a bool. Call test_and_set in the constructors instead.
* Use std::array for appropriate source and listener propertiesChris Robinson2018-12-261-8/+10
|
* Use proper classes for Vector and Matrix typesChris Robinson2018-12-121-2/+2
|
* Avoid using the ATOMIC() macroChris Robinson2018-11-261-2/+2
|
* Use atomic_flags and atomic<bools>s where appropriateChris Robinson2018-11-201-1/+1
|
* Use cleaner constructor/destructor calls for ALCcontextChris Robinson2018-11-181-7/+7
| | | | | Note that the actual type name is ALCcontext_struct, because of how it's defined in AL/alc.h (ALCcontext is just an alias to struct ALCcontext_struct).
* Avoid naming a struct member the same as an enum typeChris Robinson2018-11-181-1/+1
|
* Store the listener directly in the contextChris Robinson2018-11-171-0/+2
|
* Move the vector and matrix declarations to a separate headerChris Robinson2018-11-171-13/+10
|
* Move the ALCcontext definition to its own headerChris Robinson2018-11-171-11/+0
|
* Avoid using ATOMIC_FLAGChris Robinson2018-11-131-1/+1
| | | | | Although it cant potentially be better than a regular atomic, it presents compatibility issues when non-C11 atomics are mixed with C++
* Re-update effect slots when context properties changeChris Robinson2017-09-271-5/+0
| | | | | Also keep all free property update structs together in the context instead of per-object.
* Don't update context and listener props unnecessarilyChris Robinson2017-09-271-0/+2
|
* Update the context state properties separatelyChris Robinson2017-09-271-8/+11
| | | | | | | | | | | | | The context state properties are less likely to change compared to the listener state, and future changes may prefer more infrequent updates to the context state. Note that this puts the MetersPerUnit in as a context state, even though it's handled through the listener functions. Considering the infrequency that it's updated at (generally set just once for the context's lifetime), it makes more sense to put it there than with the more frequently updated listener properties. The aforementioned future changes would also prefer MetersPerUnit to not be updated unnecessarily.
* Add an option to ignore the app's speed of sound for reverb decayChris Robinson2017-09-221-1/+2
|
* Store the default effect slot in the contextChris Robinson2017-07-131-1/+1
|
* Remove unnecessary atomic membersChris Robinson2017-03-081-17/+17
|
* Don't pass the context's distance model as the source'sChris Robinson2016-08-231-0/+5
|
* Avoid redundantly storing distance model settingsChris Robinson2016-05-171-6/+0
|
* Use floats for the listener transformsChris Robinson2016-05-161-1/+1
|
* Store the remaining context properties with the listener propertiesChris Robinson2016-05-131-0/+6
|
* Use a lockless method for updating listener and context propertiesChris Robinson2016-05-111-2/+28
| | | | | | | | | | | This uses a separate container to provide the relevant properties to the internal update method, using atomic pointer swaps. A free-list is used to avoid having too many individual containers. This allows the mixer to update the internal listener properties without requiring the lock to protect against async updates. It also allows concurrent read access to the user-facing property values, even the multi-value ones (e.g. the vectors).
* Store more "active" listener and context properties separatelyChris Robinson2016-05-091-0/+6
| | | | | This helps ensure async listener/context property changes affect all playing sources at the same time.
* Use doubles for the constructed listener matrixChris Robinson2015-11-111-2/+2
| | | | | | This helps the stability of transforms to local space for sources that are at or near the listener. With a single-precision matrix, even FLT_EPSILON might not be enough to detect matching positions.
* Use aluVector in some more placesChris Robinson2014-12-161-2/+2
|
* Add explicit matrix and vector types to operate withChris Robinson2014-12-161-2/+3
|
* Apply the listener matrix to the listener velocity onceChris Robinson2012-10-121-0/+1
|
* Build the listener matrix separatelyChris Robinson2012-10-091-1/+4
|
* Don't include alListener.h from alMain.hChris Robinson2012-10-091-2/+1
|
* Fix up some more header includesChris Robinson2012-09-141-1/+1
|
* Calculate the listener matrix when a new orientation is specifiedChris Robinson2011-10-301-0/+1
| | | | | This is so the matrix isn't derived each time a source is updated, and it will make supporting user-defined matrices easier.
* Make some listener properties volatileChris Robinson2011-09-111-4/+4
|
* Hold the context lock only as needed when handling the listenerChris Robinson2011-08-311-2/+2
|
* Use alext.h for extension definitionsChris Robinson2010-03-161-2/+0
|
* Add AL_METERS_PER_UNIT listener propertyChris Robinson2007-12-171-0/+1
|
* Add new listener property definitionChris Robinson2007-12-171-0/+2
|
* Initial importChris Robinson2007-11-131-0/+23