Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove void from empty parameter lists | Chris Robinson | 2023-12-12 | 1 | -3/+3 |
| | | | | Also convert some functions to trailing return types and remove (void) casts. | ||||
* | Much more clang-tidy cleanup | Chris Robinson | 2023-12-10 | 1 | -0/+2 |
| | |||||
* | Avoid casting an integer literal | Chris Robinson | 2023-09-22 | 1 | -1/+1 |
| | |||||
* | Add AL_EXT_debug functions to set/get object names | Chris Robinson | 2023-08-11 | 1 | -0/+5 |
| | |||||
* | Declare functions closer to where they're needed | Chris Robinson | 2023-07-26 | 1 | -16/+16 |
| | | | | | This provides better code locality when calling implicit context functions that call their direct context variants. | ||||
* | Use a string_view for handling debug messages | Chris Robinson | 2023-05-23 | 1 | -2/+2 |
| | |||||
* | Make the API functions noexcept | Chris Robinson | 2023-05-22 | 1 | -7/+5 |
| | | | | | | | | | | | 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. | ||||
* | Fix linkage definitions | Chris Robinson | 2023-05-14 | 1 | -8/+4 |
| | |||||
* | Don't check for a null context in direct functions | Chris Robinson | 2023-05-14 | 1 | -48/+2 |
| | |||||
* | Implement direct functions for context state | Chris Robinson | 2023-05-14 | 1 | -160/+119 |
| | |||||
* | Use an inline function instead of a macro | Chris Robinson | 2023-05-08 | 1 | -13/+15 |
| | |||||
* | Store extension strings individually | Chris Robinson | 2023-05-08 | 1 | -1/+1 |
| | | | | And dynamically build the full AL_EXTENSIONS string | ||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 1 | -2/+3 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 1 | -3/+3 |
| | |||||
* | Implement a context debug flag | Chris Robinson | 2023-05-03 | 1 | -8/+15 |
| | | | | | Setting the debug flag at context creation enables more debug messages for the created context, and enables debug messages by default. | ||||
* | Rename AL_SOFT_debug to AL_EXT_DEBUG | Chris Robinson | 2023-05-03 | 1 | -17/+17 |
| | |||||
* | Reduce code duplication for context queries | Chris Robinson | 2023-05-01 | 1 | -420/+179 |
| | |||||
* | Implement pushing/popping debug groups | Chris Robinson | 2023-05-01 | 1 | -0/+23 |
| | |||||
* | Implement debug log storage | Chris Robinson | 2023-04-30 | 1 | -1/+60 |
| | |||||
* | Avoid duplicating queries | Chris Robinson | 2023-04-30 | 1 | -209/+118 |
| | |||||
* | Provide some more debug messages | Chris Robinson | 2023-04-29 | 1 | -7/+24 |
| | |||||
* | Add another missing header | Chris Robinson | 2023-04-29 | 1 | -0/+1 |
| | |||||
* | Start a debug API extension | Chris Robinson | 2023-04-29 | 1 | -4/+34 |
| | |||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 1 | -23/+23 |
| | | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places. | ||||
* | Avoid unnecessary uses of make_optional | Chris Robinson | 2023-01-13 | 1 | -7/+7 |
| | |||||
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 1 | -23/+23 |
| | |||||
* | Avoid LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -23/+23 |
| | |||||
* | Move EAX files to their own sub-directory | Chris Robinson | 2022-05-16 | 1 | -2/+2 |
| | |||||
* | Properly set the air absorption gain base | Chris Robinson | 2022-05-10 | 1 | -0/+1 |
| | |||||
* | Avoid some explicit extern "C"s on function definitions | Chris Robinson | 2022-03-31 | 1 | -3/+3 |
| | |||||
* | Fix X-RAM tracking | Chris Robinson | 2022-03-06 | 1 | -1/+1 |
| | |||||
* | Avoid more unnecessary atomics | Chris Robinson | 2022-02-13 | 1 | -7/+7 |
| | |||||
* | Combine listener and context updates | Chris Robinson | 2022-02-08 | 1 | -0/+8 |
| | |||||
* | Hold mPropLock when deferring updates | Chris Robinson | 2022-02-08 | 1 | -0/+2 |
| | |||||
* | Move ALSOFT_EAX definition to config.h | Chris Robinson | 2022-01-30 | 1 | -2/+2 |
| | | | | 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 | 1 | -0/+42 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Rename alcontext.h and move some functions to context.cpp | Chris Robinson | 2021-04-27 | 1 | -1/+1 |
| | |||||
* | Rename alcmain.h to device.h | Chris Robinson | 2021-04-27 | 1 | -6/+6 |
| | |||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -4/+4 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Move BufferStorage and Voice to core | Chris Robinson | 2021-04-27 | 1 | -1/+1 |
| | |||||
* | Partially implement an extension to hold sources on disconnect | Chris Robinson | 2021-04-26 | 1 | -6/+23 |
| | | | | | | | | Rather than stopping voices/sources when the device becomes disconnected, the context can be set to leave them alone. As a consequence, their state will remain as playing and they'll keep their last known sample offset indefinately. For applications mindful of this behavior, it will allow resetting or reopening the device to reconnect and automatically resume where it left off. | ||||
* | Make an inverted atomic flag type and use it | Chris Robinson | 2021-04-15 | 1 | -1/+1 |
| | | | | | | | | The inverted atomic flag replaces test_and_set+clear with test_and_clear+set, essentially inverting the flag status. This makes more logical sense for flagging dirty state, which is less confusing than flagging clean state. The one caveat is ATOMIC_FLAG_INIT (or default construction in C++20) initializes the state to true rather than false. | ||||
* | Avoid including voice.h in alcontext.h | Chris Robinson | 2020-12-27 | 1 | -0/+1 |
| | |||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 1 | -1/+1 |
| | |||||
* | Don't link DistanceModel enums to AL values | Chris Robinson | 2020-12-16 | 1 | -11/+37 |
| | |||||
* | Use a separate structure for the context/listener params | Chris Robinson | 2020-12-15 | 1 | -4/+4 |
| | |||||
* | Replace some more macros with constexpr variables | Chris Robinson | 2020-10-21 | 1 | -5/+5 |
| | |||||
* | Remove deprecated, performance, and error event types | Chris Robinson | 2020-09-20 | 1 | -14/+0 |
| | | | | | These would be better served with a proper debug API, rather than a general audio event API. | ||||
* | Fix up some more uses of [AL[C]]void | Chris Robinson | 2020-04-28 | 1 | -14/+14 |
| | |||||
* | Avoid AL[C]boolean for internal use | Chris Robinson | 2020-03-28 | 1 | -3/+3 |
| |