Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move some headers out of the Include subdirectory | Chris Robinson | 2019-07-28 | 1 | -59/+0 |
| | |||||
* | Use relaxed memory ordering for initializing atomic_flags | Chris Robinson | 2019-02-04 | 1 | -1/+1 |
| | |||||
* | Fix compiling problems on VS2019 with vc142 toolset | Minmin Gong | 2019-02-04 | 1 | -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 properties | Chris Robinson | 2018-12-26 | 1 | -8/+10 |
| | |||||
* | Use proper classes for Vector and Matrix types | Chris Robinson | 2018-12-12 | 1 | -2/+2 |
| | |||||
* | Avoid using the ATOMIC() macro | Chris Robinson | 2018-11-26 | 1 | -2/+2 |
| | |||||
* | Use atomic_flags and atomic<bools>s where appropriate | Chris Robinson | 2018-11-20 | 1 | -1/+1 |
| | |||||
* | Use cleaner constructor/destructor calls for ALCcontext | Chris Robinson | 2018-11-18 | 1 | -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 type | Chris Robinson | 2018-11-18 | 1 | -1/+1 |
| | |||||
* | Store the listener directly in the context | Chris Robinson | 2018-11-17 | 1 | -0/+2 |
| | |||||
* | Move the vector and matrix declarations to a separate header | Chris Robinson | 2018-11-17 | 1 | -13/+10 |
| | |||||
* | Move the ALCcontext definition to its own header | Chris Robinson | 2018-11-17 | 1 | -11/+0 |
| | |||||
* | Avoid using ATOMIC_FLAG | Chris Robinson | 2018-11-13 | 1 | -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 change | Chris Robinson | 2017-09-27 | 1 | -5/+0 |
| | | | | | Also keep all free property update structs together in the context instead of per-object. | ||||
* | Don't update context and listener props unnecessarily | Chris Robinson | 2017-09-27 | 1 | -0/+2 |
| | |||||
* | Update the context state properties separately | Chris Robinson | 2017-09-27 | 1 | -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 decay | Chris Robinson | 2017-09-22 | 1 | -1/+2 |
| | |||||
* | Store the default effect slot in the context | Chris Robinson | 2017-07-13 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary atomic members | Chris Robinson | 2017-03-08 | 1 | -17/+17 |
| | |||||
* | Don't pass the context's distance model as the source's | Chris Robinson | 2016-08-23 | 1 | -0/+5 |
| | |||||
* | Avoid redundantly storing distance model settings | Chris Robinson | 2016-05-17 | 1 | -6/+0 |
| | |||||
* | Use floats for the listener transforms | Chris Robinson | 2016-05-16 | 1 | -1/+1 |
| | |||||
* | Store the remaining context properties with the listener properties | Chris Robinson | 2016-05-13 | 1 | -0/+6 |
| | |||||
* | Use a lockless method for updating listener and context properties | Chris Robinson | 2016-05-11 | 1 | -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 separately | Chris Robinson | 2016-05-09 | 1 | -0/+6 |
| | | | | | This helps ensure async listener/context property changes affect all playing sources at the same time. | ||||
* | Use doubles for the constructed listener matrix | Chris Robinson | 2015-11-11 | 1 | -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 places | Chris Robinson | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Add explicit matrix and vector types to operate with | Chris Robinson | 2014-12-16 | 1 | -2/+3 |
| | |||||
* | Apply the listener matrix to the listener velocity once | Chris Robinson | 2012-10-12 | 1 | -0/+1 |
| | |||||
* | Build the listener matrix separately | Chris Robinson | 2012-10-09 | 1 | -1/+4 |
| | |||||
* | Don't include alListener.h from alMain.h | Chris Robinson | 2012-10-09 | 1 | -2/+1 |
| | |||||
* | Fix up some more header includes | Chris Robinson | 2012-09-14 | 1 | -1/+1 |
| | |||||
* | Calculate the listener matrix when a new orientation is specified | Chris Robinson | 2011-10-30 | 1 | -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 volatile | Chris Robinson | 2011-09-11 | 1 | -4/+4 |
| | |||||
* | Hold the context lock only as needed when handling the listener | Chris Robinson | 2011-08-31 | 1 | -2/+2 |
| | |||||
* | Use alext.h for extension definitions | Chris Robinson | 2010-03-16 | 1 | -2/+0 |
| | |||||
* | Add AL_METERS_PER_UNIT listener property | Chris Robinson | 2007-12-17 | 1 | -0/+1 |
| | |||||
* | Add new listener property definition | Chris Robinson | 2007-12-17 | 1 | -0/+2 |
| | |||||
* | Initial import | Chris Robinson | 2007-11-13 | 1 | -0/+23 |