aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Work around a MinGW thread_local bugChris Robinson2021-12-201-0/+7
| | | | | | | | | | MinGW-w64 generates bad code when accessing extern thread_local objects. Wrapper functions are used to ensure it only accesses them from the same place they're defined. This unfortunately adds a bit of overhead for what should be a relatively simple thing. These functions are inlined for non-MinGW targets, avoiding the overhead on non-affected targets.
* Move some more context functions to the proper sourceChris Robinson2021-12-171-76/+0
|
* Move the effects base and effectslot to coreChris Robinson2021-12-171-1/+1
|
* Move some ContextBase function definitions to the right placeChris Robinson2021-12-171-64/+0
|
* Remove an unnecessary parameterChris Robinson2021-12-171-14/+10
|
* Allocate voice properties in clustersChris Robinson2021-12-171-10/+19
|
* Handle the listener position separate from the rotation matrixChris Robinson2021-05-251-0/+1
| | | | | | It's too unstable with larger vectors. Even when the source and listener positions are the same, floating point precision can cause noticeable rounding errors.
* Rename alcontext.h and move some functions to context.cppChris Robinson2021-04-271-0/+387