aboutsummaryrefslogtreecommitdiffstats
path: root/al/extension.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make the API functions noexceptChris Robinson2023-05-221-2/+2
| | | | | | | | | | | Only relevant for C++, but these functions can't throw as it's a C-based API. Letting the compiler know that helps improve code generation. Extension callbacks must also not let exceptions leave the callback, or else Bad Things can happen. The macro AL_DISABLE_NOEXCEPT may be defined before including the headers to not mark functions as noexcept, but this should only be done if the caller can't otherwise be fixed.
* Don't check for a null context in direct functionsChris Robinson2023-05-141-3/+0
|
* Implement direct functions for extension queries and EAXChris Robinson2023-05-141-9/+17
|
* Store extension strings individuallyChris Robinson2023-05-081-10/+2
| | | | And dynamically build the full AL_EXTENSIONS string
* Use macros for the likely/unlikely attributesChris Robinson2023-03-011-2/+2
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Avoid using a macro to set a context error and returnChris Robinson2022-12-241-1/+4
|
* Avoid using a macro to wrap standard attributesChris Robinson2022-12-061-2/+2
|
* Use standard likely/unlikely attributes when availableChris Robinson2022-12-051-2/+2
|
* 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.
* [EAX] Add primary extension name for EAX v2.0 (#653)Boris I. Bendovsky2022-02-011-1/+2
|
* [EAX] Fix alIsExtensionPresent (#651)Boris I. Bendovsky2022-01-311-5/+5
|
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-301-4/+4
| | | | 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/+117
| | | | | | | | | | | | | | | * 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
* Make simpler likely/unlikely functions and use them in some placesChris Robinson2021-10-031-1/+1
|
* Rename alcontext.h and move some functions to context.cppChris Robinson2021-04-271-1/+1
|
* Update include headersChris Robinson2021-04-271-1/+1
| | | | Don't add alc/ to the include paths.
* Move alexcpt to coreChris Robinson2020-12-241-1/+1
|
* Add and use custom string types and functionsChris Robinson2019-09-161-2/+2
|
* Modify LIKELY and UNLIKELY to not need extra parenthesisChris Robinson2019-08-041-1/+1
|
* Move another function to a ALCcontext methodChris Robinson2019-07-301-2/+1
|
* Properly prefix ALCcontext membersChris Robinson2019-07-301-1/+1
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-291-0/+80