Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using bit_cast for pointer types | Chris Robinson | 2024-01-03 | 11 | -61/+42 |
| | |||||
* | Add a missing return | Chris Robinson | 2024-01-03 | 1 | -1/+1 |
| | |||||
* | Allocate context property updates in clusters | Chris Robinson | 2024-01-03 | 3 | -22/+37 |
| | |||||
* | Allocate effect slot property updates in clusters | Chris Robinson | 2024-01-03 | 5 | -31/+55 |
| | |||||
* | Update a comment about FlexArray | Chris Robinson | 2024-01-02 | 1 | -2/+3 |
| | |||||
* | Avoid some indexed loops | Chris Robinson | 2024-01-02 | 1 | -16/+20 |
| | |||||
* | Avoid assigning to self | Chris Robinson | 2024-01-02 | 1 | -1/+2 |
| | |||||
* | Properly handle the atomic unique_ptr type deleter | Chris Robinson | 2024-01-02 | 1 | -13/+16 |
| | |||||
* | Use an atomic exchange to destruct the atomic unique_ptr | Chris Robinson | 2024-01-02 | 1 | -1/+5 |
| | | | | | | | | | | A relaxed load isn't required to synchronize with other threads. A thread could exchange the held pointer, and a subsequent load is allowed to get either the pre- or post-swap value (it's only required the value be "complete", not junk or some mix of the old and new value). An exchange, however, is guaranteed to synchronize with itself. If an atomic variable has the value 0, for example, with one thread swapping in the value 1 and another the value 2, the two threads are guaranteed to not both get 0 from the swap. | ||||
* | Use an atomic unique_ptr for the device's context array | Chris Robinson | 2024-01-01 | 4 | -37/+13 |
| | |||||
* | Make the flexarray storage span const | Chris Robinson | 2024-01-01 | 1 | -1/+1 |
| | |||||
* | Make and use a (simple) atomic unique_ptr | Chris Robinson | 2024-01-01 | 3 | -3/+69 |
| | |||||
* | Remove an unnecessary member variable | Chris Robinson | 2024-01-01 | 1 | -27/+23 |
| | |||||
* | Use an allocator to allocate uninitilized sublists | Chris Robinson | 2024-01-01 | 8 | -104/+86 |
| | |||||
* | Use standard operator new[] and delete[] for aligned allocations | Chris Robinson | 2024-01-01 | 9 | -64/+9 |
| | |||||
* | Avoid using al_calloc/al_free in the router | Chris Robinson | 2024-01-01 | 1 | -4/+3 |
| | |||||
* | Properly align the output limiter delay buffer | Chris Robinson | 2023-12-31 | 1 | -1/+1 |
| | |||||
* | Use the proper allocator for EffectSlotArray | Chris Robinson | 2023-12-31 | 1 | -1/+2 |
| | |||||
* | Ensure HrtfStore alignment is large enough | Chris Robinson | 2023-12-31 | 1 | -0/+4 |
| | |||||
* | Avoid al_calloc/al_free for HrtfStore | Chris Robinson | 2023-12-31 | 3 | -11/+12 |
| | |||||
* | Avoid placement new for FlexArray | Chris Robinson | 2023-12-31 | 1 | -17/+16 |
| | |||||
* | Avoid placement new for the output limiter | Chris Robinson | 2023-12-31 | 3 | -88/+72 |
| | |||||
* | Implement our own cache for MYSOFA_EASY objects | Chris Robinson | 2023-12-31 | 1 | -14/+39 |
| | | | | | | | This is to both fix the potential issue of libmysofa calling free() on memory we allocated with calloc (which can be an issue if it linked to a different C runtime), and work around the code checker thinking the MYSOFA_EASY object leaks when mysofa_close and mysofa_cache_store are taking ownership of it. | ||||
* | Use a vector for the winmm wave buffer storage | Chris Robinson | 2023-12-30 | 1 | -11/+8 |
| | |||||
* | Clean up some ugly pointer manipulation in the limiter | Chris Robinson | 2023-12-30 | 2 | -47/+51 |
| | |||||
* | Don't apply the T60 filter on the initial late reverb input | Chris Robinson | 2023-12-30 | 1 | -37/+46 |
| | |||||
* | Replace some macros | Chris Robinson | 2023-12-29 | 5 | -62/+70 |
| | |||||
* | Move struct definitions to more appropriate headers | Chris Robinson | 2023-12-29 | 8 | -77/+95 |
| | |||||
* | Clean up some potential allocation alignment mismatches | Chris Robinson | 2023-12-29 | 2 | -23/+19 |
| | |||||
* | Handle pointer ownership a bit better | Chris Robinson | 2023-12-29 | 14 | -91/+115 |
| | |||||
* | Improve ownership handing with PFFFT | Chris Robinson | 2023-12-27 | 2 | -58/+36 |
| | |||||
* | Try to start being a bit more pointer-owner conscious | Chris Robinson | 2023-12-26 | 12 | -108/+115 |
| | |||||
* | Clean up some gotos and non-optimal casts | Chris Robinson | 2023-12-26 | 16 | -194/+190 |
| | |||||
* | Avoid another assignment in an if statement | Chris Robinson | 2023-12-25 | 1 | -1/+2 |
| | |||||
* | Use standard methods for rounding | Chris Robinson | 2023-12-25 | 4 | -10/+11 |
| | |||||
* | Rework effect property handling | Chris Robinson | 2023-12-24 | 32 | -1310/+1136 |
| | | | | To nake EffectProps a variant instead of a union, and avoid manual vtables. | ||||
* | Use separate structs for the dedicated dialog/lfe effects | Chris Robinson | 2023-12-23 | 7 | -56/+143 |
| | |||||
* | Use a separate struct and union member for flanger properties | Chris Robinson | 2023-12-23 | 3 | -80/+101 |
| | |||||
* | Avoid assignments in if conditions | Chris Robinson | 2023-12-23 | 8 | -44/+62 |
| | |||||
* | Fix implicit widening after multiplication | Chris Robinson | 2023-12-23 | 17 | -88/+90 |
| | |||||
* | Pass the effect props directly to the eax committer functions | Chris Robinson | 2023-12-23 | 13 | -418/+236 |
| | | | | Rather than the variant that was already checked for what it's holding. | ||||
* | Avoid some template hackery for EAX effect type functions | Chris Robinson | 2023-12-22 | 12 | -215/+169 |
| | |||||
* | Avoid a function-like macro for calling to EAX effects | Chris Robinson | 2023-12-22 | 1 | -20/+35 |
| | |||||
* | Replace a series of if statements with a switch | Chris Robinson | 2023-12-22 | 1 | -24/+16 |
| | |||||
* | Use std::visit instead of manually checking the set type | Chris Robinson | 2023-12-22 | 1 | -25/+15 |
| | |||||
* | Remove an unnecessary std::max | Chris Robinson | 2023-12-21 | 1 | -3/+2 |
| | |||||
* | Use string_views for querying config parameters | Chris Robinson | 2023-12-21 | 16 | -109/+122 |
| | |||||
* | Use string_views to help parse config files | Chris Robinson | 2023-12-21 | 1 | -85/+78 |
| | |||||
* | Use a bool for a 0/1 value | Chris Robinson | 2023-12-21 | 1 | -4/+4 |
| | |||||
* | [EAX] Fix error handling (#953) | Boris I. Bendovsky | 2023-12-21 | 2 | -1/+5 |
| | | | | | | - Set error on EAX call failure if context is available. - Reset error on successful retreiving the last error code. Reference: EAX 4.0 - Programmer's Guide (pg.37) |