aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.h
Commit message (Collapse)AuthorAgeFilesLines
* Ensure deferred EAX effect properties are committedChris Robinson2022-03-041-0/+2
|
* Use a simpler loop to enumerate sourcesChris Robinson2022-02-211-62/+0
|
* Avoid a variable limit on EAX filtersChris Robinson2022-02-181-5/+0
| | | | | | I'll assume for now that the limits for the EAX properties will keep the filter gain from getting out of hand. The filter's gainhf is relative to the gain and is limited to 0dB max.
* Avoid more unnecessary atomicsChris Robinson2022-02-131-5/+4
|
* Commit source EAX properties when not deferringChris Robinson2022-02-131-1/+0
| | | | And make sure they get committed when resuming processing.
* Inline some more simple gettersChris Robinson2022-02-081-9/+9
|
* Handle AirAbsorptionGainHF as a native context propertyChris Robinson2022-02-081-4/+1
|
* Apply updates for EAX context propertiesChris Robinson2022-02-081-1/+11
|
* Ensure sources update together from EAX commitsChris Robinson2022-02-081-1/+2
| | | | ... when a listener property change forces a commit.
* Hold mPropLock when deferring updatesChris Robinson2022-02-081-3/+7
|
* Inline ALCcontext::has_eaxChris Robinson2022-02-081-1/+1
|
* DisabledEffects won't change so EAX can just check it onceChris Robinson2022-02-081-4/+0
|
* EAX various fixes (#657)Boris I. Bendovsky2022-02-081-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [EAX] Fix effect GUID validation Only NULL and REVERB was valid. * [EAX] Fix default FX slot flags EAX4 and EAX5 both sets to ENVIRONMENT. * [EAX] Set default values for legacy FX slots in the initialization * [EAX] Fix FX slot locking policy Fail on attempt to load an effect or change a lock for EAX4 "set" call. Unlock legacy FX slots on any EAX5 call. * [EAX] Allow DEFER flag for "get" calls. * [EAX] Make speaker configuration read-only * [EAX] Initialize speaker configuration * [EAX] Commit EAX source on a 3D source parameter call Reference: EAX 4.0 Programmer's Guide * [EAX] Commit EAX source on a 3D listener parameter call Reference: EAX 4.0 Programmer's Guide * [EAX] Commit source when it begins to play Reference: EAX 4.0 Programmer's Guide
* Avoid a proxy ALfilter object for EAX source propertiesChris Robinson2022-02-071-8/+0
|
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-301-15/+13
| | | | And disable it by default for non-Windows targets
* Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)Boris I. Bendovsky2022-01-301-0/+386
| | | | | | | | | | | | | | | * Add EAX extensions (EAX 2.0-5.0, X-RAM) * Comment out C++17 leftovers * Remove everything related to patching * Update alsoftrc.sample * Rewrite integration * Fix GCC compilation under Linux * Always reset EAX effect properties when loading it into FX slot
* Work around a MinGW thread_local bugChris Robinson2021-12-201-0/+15
| | | | | | | | | | 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.
* Rename alcontext.h and move some functions to context.cppChris Robinson2021-04-271-0/+167