Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix error messages for AL_STEREO_MODE_SOFT | Chris Robinson | 2022-02-13 | 1 | -2/+4 |
| | |||||
* | Remove unnecessary IsPlayingOrPaused calls | Chris Robinson | 2022-02-13 | 1 | -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 type | Chris Robinson | 2022-02-13 | 1 | -54/+61 |
| | |||||
* | Don't make mPropsDirty atomic | Chris Robinson | 2022-02-13 | 2 | -17/+28 |
| | | | | It's only ever used under the ALCcontext::mPropLock mutex. | ||||
* | Commit source EAX properties when not deferring | Chris Robinson | 2022-02-13 | 2 | -64/+81 |
| | | | | And make sure they get committed when resuming processing. | ||||
* | Fix an exported symbol | Chris Robinson | 2022-02-12 | 1 | -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 context | Chris Robinson | 2022-02-10 | 1 | -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 Robinson | 2022-02-10 | 1 | -31/+31 |
| | |||||
* | Handle AirAbsorptionGainHF as a native context property | Chris Robinson | 2022-02-08 | 1 | -10/+1 |
| | |||||
* | Combine listener and context updates | Chris Robinson | 2022-02-08 | 3 | -55/+21 |
| | |||||
* | Apply updates for EAX context properties | Chris Robinson | 2022-02-08 | 2 | -27/+0 |
| | |||||
* | Ensure sources update together from EAX commits | Chris Robinson | 2022-02-08 | 3 | -12/+40 |
| | | | | ... when a listener property change forces a commit. | ||||
* | Commit deferred EAX settings earlier when playing | Chris Robinson | 2022-02-08 | 1 | -10/+3 |
| | | | | Before the property update is supplied to the voice in InitVoice. | ||||
* | Be less agressive with source updates on EAX changes | Chris Robinson | 2022-02-08 | 1 | -31/+10 |
| | |||||
* | Fix sign of ALeffectslot::eax_get_eax_default_lock's return type | Chris Robinson | 2022-02-08 | 2 | -2/+2 |
| | |||||
* | Hold mPropLock when deferring updates | Chris Robinson | 2022-02-08 | 1 | -0/+2 |
| | |||||
* | EAX various fixes (#657) | Boris I. Bendovsky | 2022-02-08 | 8 | -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 properties | Chris Robinson | 2022-02-07 | 4 | -284/+78 |
| | |||||
* | Avoid eax_al_source_i/f wrappers | Chris Robinson | 2022-02-07 | 2 | -63/+22 |
| | |||||
* | Avoid using ALeffect to manage EaxEffect objects | Chris Robinson | 2022-02-07 | 20 | -432/+124 |
| | | | | Effect slots can just use its EaxEffect directly. | ||||
* | Don't pass an ALeffect to ALeffectslot::initEffect | Chris Robinson | 2022-02-07 | 2 | -11/+16 |
| | |||||
* | Avoid the need for EaxAlContextWrapper | Chris Robinson | 2022-02-06 | 2 | -49/+19 |
| | |||||
* | Update the effectslot props with a function instead of a macro | Chris Robinson | 2022-02-06 | 1 | -27/+13 |
| | |||||
* | Inline some simple getters | Chris Robinson | 2022-02-05 | 2 | -50/+7 |
| | |||||
* | Avoid global pointers to string literals | Chris Robinson | 2022-02-01 | 2 | -21/+20 |
| | |||||
* | [EAX] Add primary extension name for EAX v2.0 (#653) | Boris I. Bendovsky | 2022-02-01 | 3 | -3/+6 |
| | |||||
* | [EAX] Fix alIsExtensionPresent (#651) | Boris I. Bendovsky | 2022-01-31 | 1 | -5/+5 |
| | |||||
* | Move ALSOFT_EAX definition to config.h | Chris Robinson | 2022-01-30 | 37 | -160/+108 |
| | | | | And disable it by default for non-Windows targets | ||||
* | Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632) | Boris I. Bendovsky | 2022-01-30 | 46 | -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.h | Chris Robinson | 2022-01-27 | 1 | -2/+1 |
| | |||||
* | Get rid of MathDefs | Chris Robinson | 2022-01-27 | 1 | -1/+0 |
| | |||||
* | Properly compare the buffer channels for preservation | Chris Robinson | 2022-01-17 | 1 | -1/+1 |
| | |||||
* | Fixed compiler warning (#640) | Derek Henderson | 2022-01-17 | 1 | -1/+1 |
| | |||||
* | Use a bitset instead of a plain uint for flags | Chris Robinson | 2021-12-23 | 1 | -8/+8 |
| | |||||
* | Set the voice's ambisonic order for playing super stereo | Chris Robinson | 2021-12-17 | 1 | -1/+1 |
| | |||||
* | Move the effects base and effectslot to core | Chris Robinson | 2021-12-17 | 1 | -1/+1 |
| | |||||
* | Remove an unnecessary parameter | Chris Robinson | 2021-12-17 | 1 | -1/+1 |
| | |||||
* | Allocate voice properties in clusters | Chris Robinson | 2021-12-17 | 1 | -7/+7 |
| | |||||
* | Rename Voice::mNumChannels for clarity | Chris Robinson | 2021-12-15 | 1 | -1/+1 |
| | |||||
* | Add source properties for Super Stereo | Chris Robinson | 2021-12-15 | 2 | -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. | ||||
* | Add an internal Super Stereo format | Chris Robinson | 2021-12-11 | 2 | -14/+7 |
| | | | | | | | It's not available as an AL buffer format (yet) since I'm not sure how to expose it. Internally it seems fine as a separate channel configuration, but because OpenAL combines the channel configuration and sample type, a flag may work better there. | ||||
* | Make the backend pointer part of ALCdevice instead of DeviceBase | Chris Robinson | 2021-11-19 | 1 | -2/+2 |
| | |||||
* | Update some in-progress extension types | Chris Robinson | 2021-11-10 | 1 | -2/+2 |
| | |||||
* | Avoid manually prefixing EventType_ enums | Chris Robinson | 2021-10-10 | 1 | -12/+12 |
| | | | | And use a better fitting type that matches how it's used | ||||
* | Make a construct_at method amd use it | Chris Robinson | 2021-10-08 | 6 | -6/+6 |
| | |||||
* | Silence some static analysis warnings | Chris Robinson | 2021-10-03 | 5 | -9/+11 |
| | |||||
* | Make simpler likely/unlikely functions and use them in some places | Chris Robinson | 2021-10-03 | 3 | -6/+6 |
| | |||||
* | Combine a couple similar switch blocks | Chris Robinson | 2021-07-17 | 1 | -77/+64 |
| | |||||
* | Read the channel format from the correct object | Chris Robinson | 2021-07-13 | 1 | -2/+2 |
| | |||||
* | Fix returned value for AL_AMBISONIC_SCALING_SOFT buffer queries | Chris Robinson | 2021-07-13 | 1 | -1/+1 |
| |