aboutsummaryrefslogtreecommitdiffstats
path: root/al
Commit message (Collapse)AuthorAgeFilesLines
* Access the proper FX slot indexChris Robinson2022-02-141-1/+1
|
* Avoid some messy type-punningChris Robinson2022-02-141-29/+11
|
* Remove some unnecessary includesChris Robinson2022-02-141-2/+0
|
* Move some declarations to where the definitions will seeChris Robinson2022-02-142-15/+13
|
* Simplify EaxEaxCall::EaxEaxCallChris Robinson2022-02-142-48/+33
|
* Avoid some const_castsChris Robinson2022-02-141-9/+6
|
* Derive EaxFxSlotIndex from an optionalChris Robinson2022-02-145-142/+35
|
* Use memcmp to compare GUIDsChris Robinson2022-02-131-19/+5
| | | | | | Clang at least optimizes the old version horribly, doing each individual check (with short-circuiting) as written. In comparison, this memcmp gets inlined using only a few SIMD instructions (on capable targets).
* Avoid an unnecessary checkChris Robinson2022-02-131-9/+6
|
* Avoid more unnecessary atomicsChris Robinson2022-02-136-29/+29
|
* Fix error messages for AL_STEREO_MODE_SOFTChris Robinson2022-02-131-2/+4
|
* Remove unnecessary IsPlayingOrPaused callsChris Robinson2022-02-131-42/+28
| | | | | When followed by GetSourceVoice, a voice can only be returned if the source is playing or paused, making it redundant.
* Remove an unused return typeChris Robinson2022-02-131-54/+61
|
* Don't make mPropsDirty atomicChris Robinson2022-02-132-17/+28
| | | | It's only ever used under the ALCcontext::mPropLock mutex.
* Commit source EAX properties when not deferringChris Robinson2022-02-132-64/+81
| | | | And make sure they get committed when resuming processing.
* Fix an exported symbolChris Robinson2022-02-121-1/+1
| | | | | | The symbol only exists for compatibility due to it having been erroneously exported in previous versions (even though it shouldn't have been used directly, some apps could have).
* Don't hide EAX functions behind a contextChris Robinson2022-02-101-118/+0
| | | | | | | The standard says a function being returned doesn't necessarily mean it's usable, and calling them will return failure if called when not usable. The config option still prevents it from being returned, to better hide it when disabled globally.
* Avoid some unnecessary extern "C"Chris Robinson2022-02-101-31/+31
|
* Handle AirAbsorptionGainHF as a native context propertyChris Robinson2022-02-081-10/+1
|
* Combine listener and context updatesChris Robinson2022-02-083-55/+21
|
* Apply updates for EAX context propertiesChris Robinson2022-02-082-27/+0
|
* Ensure sources update together from EAX commitsChris Robinson2022-02-083-12/+40
| | | | ... when a listener property change forces a commit.
* Commit deferred EAX settings earlier when playingChris Robinson2022-02-081-10/+3
| | | | Before the property update is supplied to the voice in InitVoice.
* Be less agressive with source updates on EAX changesChris Robinson2022-02-081-31/+10
|
* Fix sign of ALeffectslot::eax_get_eax_default_lock's return typeChris Robinson2022-02-082-2/+2
|
* Hold mPropLock when deferring updatesChris Robinson2022-02-081-0/+2
|
* EAX various fixes (#657)Boris I. Bendovsky2022-02-088-67/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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-074-284/+78
|
* Avoid eax_al_source_i/f wrappersChris Robinson2022-02-072-63/+22
|
* Avoid using ALeffect to manage EaxEffect objectsChris Robinson2022-02-0720-432/+124
| | | | Effect slots can just use its EaxEffect directly.
* Don't pass an ALeffect to ALeffectslot::initEffectChris Robinson2022-02-072-11/+16
|
* Avoid the need for EaxAlContextWrapperChris Robinson2022-02-062-49/+19
|
* Update the effectslot props with a function instead of a macroChris Robinson2022-02-061-27/+13
|
* Inline some simple gettersChris Robinson2022-02-052-50/+7
|
* Avoid global pointers to string literalsChris Robinson2022-02-012-21/+20
|
* [EAX] Add primary extension name for EAX v2.0 (#653)Boris I. Bendovsky2022-02-013-3/+6
|
* [EAX] Fix alIsExtensionPresent (#651)Boris I. Bendovsky2022-01-311-5/+5
|
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-3037-160/+108
| | | | And disable it by default for non-Windows targets
* Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)Boris I. Bendovsky2022-01-3046-0/+16784
| | | | | | | | | | | | | | | * 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
* Remove math_defs.hChris Robinson2022-01-271-2/+1
|
* Get rid of MathDefsChris Robinson2022-01-271-1/+0
|
* Properly compare the buffer channels for preservationChris Robinson2022-01-171-1/+1
|
* Fixed compiler warning (#640)Derek Henderson2022-01-171-1/+1
|
* Use a bitset instead of a plain uint for flagsChris Robinson2021-12-231-8/+8
|
* Set the voice's ambisonic order for playing super stereoChris Robinson2021-12-171-1/+1
|
* Move the effects base and effectslot to coreChris Robinson2021-12-171-1/+1
|
* Remove an unnecessary parameterChris Robinson2021-12-171-1/+1
|
* Allocate voice properties in clustersChris Robinson2021-12-171-7/+7
|
* Rename Voice::mNumChannels for clarityChris Robinson2021-12-151-1/+1
|
* Add source properties for Super StereoChris Robinson2021-12-152-23/+82
| | | | | When playing a stereo format, enabling Super Stereo causes the source to behave as a B-Format source, with a variable width control.