Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a alcGetProcAddress2 function | Chris Robinson | 2023-09-12 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | This is essentially just a copy of alcGetProcAddress. It's purpose is to bypass Creative's router's alcGetProcAddress implementation, which returns its own functions even if given a device handle. When combined with it also wrapping the drivers' device and context handles, that prevents any extention function that needs a recognizable device or context handle from working, like the *Direct functions, as there's no way for the app to get a device or context handle the driver can know about). An alternate function to get function pointers allows a driver to return its own implementation for standard and extension functions, which an application can use to "bootstrap" audio to use a particular driver directly, enabling use of extensions that the router gets in the way of (and also avoid the overhead of the router, however small that may be). | ||||
* | Allow querying AL_EFFECTSLOT_EFFECT | Chris Robinson | 2023-08-25 | 1 | -1/+1 |
| | | | | | | | This doesn't make much sense since the effect associated with the ID may be modified and not represent the effect being played, or was even deleted and isn't a valid effect ID, but Generic Software allows querying it so it should be queryable for compatibility if nothing else. | ||||
* | Use a string instead of a c_str for a string_view | Chris Robinson | 2023-08-18 | 1 | -1/+1 |
| | |||||
* | Make ALC_SOFT_system_events public | Chris Robinson | 2023-08-18 | 1 | -2/+2 |
| | |||||
* | Make AL(C)_EXT_debug public | Chris Robinson | 2023-08-11 | 1 | -1/+1 |
| | |||||
* | Use a string_view for the backend open method | Chris Robinson | 2023-08-06 | 1 | -6/+35 |
| | |||||
* | Catch exceptions from constructing ALCcontexts | Chris Robinson | 2023-07-24 | 1 | -1/+15 |
| | |||||
* | Add a function to set a callback for log messages | Chris Robinson | 2023-07-02 | 1 | -0/+5 |
| | |||||
* | Don't pass the file handle to al_print | Chris Robinson | 2023-07-01 | 1 | -7/+0 |
| | |||||
* | Don't initialize in alcGetProcAddress or alcGetEnumValue | Chris Robinson | 2023-06-02 | 1 | -2/+0 |
| | |||||
* | Rename threads.cpp/h to alsem.cpp/h | Chris Robinson | 2023-06-01 | 1 | -1/+0 |
| | |||||
* | Define FORCE_ALIGN in config.h | Chris Robinson | 2023-06-01 | 1 | -3/+9 |
| | |||||
* | Move the function and enum list to a separate file | Chris Robinson | 2023-05-30 | 1 | -864/+1 |
| | |||||
* | Add a callback to report system device changes | Chris Robinson | 2023-05-30 | 1 | -24/+30 |
| | | | | | Devices being added or removed, or the default device changing. Not all backends report this (none do currently), but it'll be supported where it can. | ||||
* | 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 | -93/+31 |
| | | | | | | | | | | | 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. | ||||
* | Add extension strings for the in-progress direct API | Chris Robinson | 2023-05-14 | 1 | -0/+2 |
| | |||||
* | Implement direct functions for EFX | Chris Robinson | 2023-05-14 | 1 | -0/+34 |
| | |||||
* | Implement direct functions for the debug API | Chris Robinson | 2023-05-14 | 1 | -0/+7 |
| | |||||
* | Implement direct functions for the listener and events | Chris Robinson | 2023-05-14 | 1 | -0/+15 |
| | |||||
* | Add more direct functions to the function table | Chris Robinson | 2023-05-14 | 1 | -0/+66 |
| | |||||
* | Implement direct functions for extension queries and EAX | Chris Robinson | 2023-05-14 | 1 | -0/+10 |
| | |||||
* | Implement direct functions for context state | Chris Robinson | 2023-05-14 | 1 | -0/+22 |
| | |||||
* | Avoid using al::vector unnecessarily | Chris Robinson | 2023-05-12 | 1 | -6/+6 |
| | |||||
* | Remove custom stuff for standard | Chris Robinson | 2023-05-04 | 1 | -1/+1 |
| | |||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 1 | -2/+2 |
| | |||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 1 | -1/+1 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 1 | -22/+22 |
| | |||||
* | Implement a context debug flag | Chris Robinson | 2023-05-03 | 1 | -11/+30 |
| | | | | | 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 | -35/+35 |
| | |||||
* | Implement pushing/popping debug groups | Chris Robinson | 2023-05-01 | 1 | -0/+7 |
| | |||||
* | Put the debug filters into a group | Chris Robinson | 2023-05-01 | 1 | -0/+1 |
| | |||||
* | Avoid assigning to existing optional<string> | Chris Robinson | 2023-05-01 | 1 | -8/+2 |
| | | | | | | Reduces the amount inlining the compiler has to do, though the uhj/filter config option is no longer recognized (it has been deprecated, amd I don't think it was in an actual release). | ||||
* | Implement debug log storage | Chris Robinson | 2023-04-30 | 1 | -0/+5 |
| | |||||
* | Implement non-ID based debug message filtering | Chris Robinson | 2023-04-30 | 1 | -0/+21 |
| | |||||
* | Provide some more debug messages | Chris Robinson | 2023-04-29 | 1 | -8/+22 |
| | |||||
* | Start a debug API extension | Chris Robinson | 2023-04-29 | 1 | -0/+4 |
| | |||||
* | Simplify effect state buffer handling some | Chris Robinson | 2023-04-04 | 1 | -7/+2 |
| | |||||
* | Support the AL_EXT_STATIC_BUFFER extension | Chris Robinson | 2023-04-03 | 1 | -0/+2 |
| | |||||
* | Add a compat option to restore AL_SOFT_buffer_sub_data | Chris Robinson | 2023-03-17 | 1 | -0/+3 |
| | |||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 1 | -3/+3 |
| | | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places. | ||||
* | Add aLaw formats to AL_SOFT_UHJ_ex | Chris Robinson | 2023-02-27 | 1 | -0/+3 |
| | |||||
* | Add AL_SOFT_UHJ_ex to the extension list | Chris Robinson | 2023-02-26 | 1 | -0/+6 |
| | |||||
* | Use explicit arrays for the remix table target mixes | Chris Robinson | 2023-01-24 | 1 | -16/+53 |
| | | | | Seems inline initializer lists become garbage when stored in a span. | ||||
* | Change a couple macros to constexpr variables | Chris Robinson | 2023-01-16 | 1 | -1/+1 |
| | |||||
* | clang-tidy cleanups (#800) | Rosen Penev | 2023-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <rosenp@gmail.com> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <rosenp@gmail.com> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <rosenp@gmail.com> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <rosenp@gmail.com> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> | ||||
* | Avoid a dead store | Chris Robinson | 2023-01-13 | 1 | -1/+0 |
| | |||||
* | Avoid unnecessary uses of make_optional | Chris Robinson | 2023-01-13 | 1 | -20/+20 |
| | |||||
* | Handle the stereo-encoding option for loopback devices too | Chris Robinson | 2023-01-09 | 1 | -12/+12 |
| | |||||
* | Fix handling the ALC_HRTF_SOFT attribute | Chris Robinson | 2023-01-09 | 1 | -1/+20 |
| |