Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add AL_EXT_debug functions to set/get object names | Chris Robinson | 2023-08-11 | 1 | -0/+14 |
| | |||||
* | Declare functions closer to where they're needed | Chris Robinson | 2023-07-26 | 1 | -40/+39 |
| | | | | | This provides better code locality when calling implicit context functions that call their direct context variants. | ||||
* | Fix some typos (#872) | Dirk Stolle | 2023-07-04 | 1 | -3/+3 |
| | |||||
* | Use cinttypes instead of inttypes.h in C++ | Chris Robinson | 2023-06-01 | 1 | -1/+1 |
| | |||||
* | Rename threads.cpp/h to alsem.cpp/h | Chris Robinson | 2023-06-01 | 1 | -1/+0 |
| | |||||
* | Make the API functions noexcept | Chris Robinson | 2023-05-22 | 1 | -15/+3 |
| | | | | | | | | | | | 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 | -37/+37 |
| | |||||
* | Don't check for a null context in direct functions | Chris Robinson | 2023-05-14 | 1 | -115/+15 |
| | |||||
* | Implement direct functions for sources | Chris Robinson | 2023-05-14 | 1 | -277/+272 |
| | |||||
* | Avoid using al::vector unnecessarily | Chris Robinson | 2023-05-12 | 1 | -6/+7 |
| | |||||
* | Only check isfinite for floating point values | Chris Robinson | 2023-05-06 | 1 | -19/+28 |
| | |||||
* | Improve accuracy for the source offset and length queries | Chris Robinson | 2023-05-06 | 1 | -39/+63 |
| | |||||
* | Combine multiple functions into reusable templates | Chris Robinson | 2023-05-06 | 1 | -1139/+814 |
| | |||||
* | Clean up some temporary variable names | Chris Robinson | 2023-05-05 | 1 | -10/+3 |
| | |||||
* | Use some more standard functions | Chris Robinson | 2023-05-05 | 1 | -4/+4 |
| | |||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 1 | -15/+15 |
| | |||||
* | Don't try to access null pointers | Chris Robinson | 2023-04-28 | 1 | -0/+3 |
| | |||||
* | Use std::transform to cast doubles to floats | Chris Robinson | 2023-04-27 | 1 | -2/+4 |
| | |||||
* | Make sure extension functions are properly aligned on 32-bit | Chris Robinson | 2023-04-12 | 1 | -2/+3 |
| | |||||
* | Allow using a negative offset with callback buffers | Chris Robinson | 2023-03-28 | 1 | -1/+4 |
| | |||||
* | Log the buffer format when queueing mismatched buffers | Chris Robinson | 2023-03-22 | 1 | -2/+6 |
| | |||||
* | Remove the separate UserFmt types | Chris Robinson | 2023-03-19 | 1 | -16/+3 |
| | | | | | All caller-usable formats are available as core formats now, so there's no reason to distinguish between them. | ||||
* | Simplify some samples-to-bytes conversions | Chris Robinson | 2023-03-19 | 1 | -40/+8 |
| | |||||
* | Add a compat option to restore AL_SOFT_buffer_sub_data | Chris Robinson | 2023-03-17 | 1 | -10/+134 |
| | |||||
* | Rename some member functions and variables for consistency | Chris Robinson | 2023-03-16 | 1 | -102/+102 |
| | |||||
* | Commit deferred EAX properties in alcProcessContext | Chris Robinson | 2023-03-16 | 1 | -15/+0 |
| | |||||
* | Fix the format check for queueing buffers | Chris Robinson | 2023-03-15 | 1 | -1/+1 |
| | |||||
* | Set a default version for EAX source properties | Chris Robinson | 2023-03-14 | 1 | -14/+15 |
| | |||||
* | Don't allow queueing a buffer with no format | Chris Robinson | 2023-03-12 | 1 | -10/+18 |
| | |||||
* | Don't commit EAX updates in applyAllUpdates | Chris Robinson | 2023-03-11 | 1 | -32/+9 |
| | | | | | | | | | | To avoid alcProcessContext causing deferred EAX properties to be committed. This simplifies updates when EAX has been initialized, but never or rarely used. Committing now always occurs in EAXSet when the property is non-deferred, updating the OpenAL object(s) with it (with OpenAL's updates then being applied based on the context's defer state). | ||||
* | Don't assume the max property size unchecked for user pointers | Chris Robinson | 2023-03-06 | 1 | -56/+193 |
| | |||||
* | Don't get the front element of an empty queue | Chris Robinson | 2023-03-05 | 1 | -1/+4 |
| | |||||
* | Report the current buffer ID of a streaming source | Chris Robinson | 2023-03-05 | 1 | -2/+13 |
| | | | | | | The AL_BUFFER query should only return the buffer that was set on a static source, but some apps used it to detect when a current buffer of a streaming source changed instead of AL_BUFFERS_PROCESSED. | ||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 1 | -136/+136 |
| | | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places. | ||||
* | Don't start with fading for negative offsets | Chris Robinson | 2023-02-18 | 1 | -2/+4 |
| | |||||
* | Track the callback buffer base separately | Chris Robinson | 2023-02-18 | 1 | -0/+1 |
| | | | | | Instead of recalculating it all the time, even for sources that don't use callback buffers. | ||||
* | Support IMA4 ADPCM as a mixing voice format | Chris Robinson | 2023-02-14 | 1 | -12/+15 |
| | |||||
* | Don't set an EAX version by default for sources | Chris Robinson | 2023-02-05 | 1 | -26/+8 |
| | | | | | | | | | Presuming sources start in a neutral state for EAX effects, that is they're not affected by EAX by default, there's no need to set an active EAX state for one until the app sets an EAX property on it. Since the deferred and immediate properties are stored independently per-version, they can always be set to defaults, and simply not have a particular version committed as active until the app sets an EAX property, which will inherently set the active version. | ||||
* | Don't force an update if there is no aux slot being replaced | Chris Robinson | 2023-01-20 | 1 | -4/+7 |
| | | | | | A null effect slot can't be deleted, so we don't need to make sure it's set to change before returning. | ||||
* | Avoid unnecessary uses of make_optional | Chris Robinson | 2023-01-13 | 1 | -15/+15 |
| | |||||
* | Avoid some explicit casts and references | Chris Robinson | 2023-01-01 | 1 | -3/+3 |
| | |||||
* | Avoid a manual loop to find a buffer queue entry | Chris Robinson | 2022-12-24 | 1 | -6/+3 |
| | |||||
* | Constify some parameters | Chris Robinson | 2022-12-24 | 1 | -16/+16 |
| | |||||
* | Avoid using a macro to set a context error and return | Chris Robinson | 2022-12-24 | 1 | -34/+32 |
| | |||||
* | Avoid some macros for checking property sizes and values | Chris Robinson | 2022-12-24 | 1 | -169/+228 |
| | |||||
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 1 | -135/+135 |
| | |||||
* | Avoid LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -119/+119 |
| | |||||
* | Use standard likely/unlikely attributes when available | Chris Robinson | 2022-12-05 | 1 | -18/+18 |
| | |||||
* | Add functions to start sources at a particular device time | Chris Robinson | 2022-11-03 | 1 | -161/+234 |
| | | | | | | | | This starts a source at a particular device clock time, rounded to the nearest sample (really, 4th sample for SIMD reasons), allowing to start a sound at a particular point in the output instead of the next update. Unlike using negative offsets, this is not affected by pitch/velocity. | ||||
* | Add the ability to start a voice at a particular time | Chris Robinson | 2022-11-03 | 1 | -0/+2 |
| |