Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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) | ||||
* | Use proper structs for EffectProps | Chris Robinson | 2023-12-21 | 1 | -118/+132 |
| | |||||
* | Disable rt-mix by default for PipeWire | Chris Robinson | 2023-12-21 | 2 | -2/+2 |
| | |||||
* | Use a variant instead of a union for InterpState | Chris Robinson | 2023-12-21 | 6 | -55/+77 |
| | |||||
* | Avoid using a couple C limits macros | Chris Robinson | 2023-12-20 | 1 | -2/+3 |
| | |||||
* | Use proper iterators for sorting effect slots where possible | Chris Robinson | 2023-12-20 | 1 | -7/+4 |
| | |||||
* | Update span to better check out-of-bounds subspan requests | Chris Robinson | 2023-12-20 | 1 | -37/+77 |
| | |||||
* | Ensure struct members are initialized | Chris Robinson | 2023-12-20 | 22 | -124/+124 |
| | |||||
* | Use -static-libstdc++ to static link libstdc++ | Chris Robinson | 2023-12-19 | 1 | -2/+2 |
| | |||||
* | Set Oboe usage to Game | Chris Robinson | 2023-12-18 | 1 | -0/+1 |
| | | | | | OpenAL isn't only for games, but this seems to be the setting for interactive low-latency audio. | ||||
* | Fix and cleanup some more warnings | Chris Robinson | 2023-12-18 | 3 | -19/+30 |
| | |||||
* | Fix some implicit conversions | Chris Robinson | 2023-12-17 | 12 | -48/+45 |
| | |||||
* | Remove DEF_NEWDEL | Chris Robinson | 2023-12-16 | 44 | -140/+2 |
| | | | | | C++17 provides alignment-aware allocators for us, so we don't need to use our own to make sure classes/structs are properly aligned. | ||||
* | Fix searching the channel type list | Chris Robinson | 2023-12-15 | 1 | -1/+1 |
| | |||||
* | Mark constructors noexcept as needed | Chris Robinson | 2023-12-15 | 1 | -3/+9 |
| | |||||
* | Catch a potential exception to free memory | Chris Robinson | 2023-12-15 | 1 | -3/+13 |
| | |||||
* | Remove unnecessary macro parameter lists | Chris Robinson | 2023-12-15 | 10 | -15/+15 |
| | |||||
* | Properly check if size_t is larger than uint32_t | Chris Robinson | 2023-12-15 | 1 | -1/+1 |
| | |||||
* | Add some noexcept for free functions | Chris Robinson | 2023-12-15 | 2 | -17/+20 |
| | |||||
* | Fix clang-tidy warnings from the examples and utilities | Chris Robinson | 2023-12-13 | 12 | -372/+360 |
| | |||||
* | Don't fail alcDevicePauseSOFT for disconnected devices | Chris Robinson | 2023-12-13 | 1 | -6/+0 |
| | | | | | | | | | | | The device playback is stopped so the function doesn't technically fail. This primarily just allows the device state to be flagged as paused for a subsequent reset or reopen, which covers a potential issue where a device is disconnected, the app pauses it due to something like an incoming call or being put into the background, then successfully resets or reopens the device before playback should resume. Without this, the device will (try to) start immediately upon being reset or reopened, which would either fail (and disconnect again) or start playing again prematurely before it can be stopped. | ||||
* | Properly check that the device was playing before restarting it | Chris Robinson | 2023-12-12 | 1 | -7/+4 |
| | |||||
* | Track the device state for being properly configured | Chris Robinson | 2023-12-12 | 4 | -41/+81 |
| | | | | And don't allow resuming if the backend device isn't properly set up. | ||||
* | Remove void from empty parameter lists | Chris Robinson | 2023-12-12 | 10 | -66/+71 |
| | | | | Also convert some functions to trailing return types and remove (void) casts. | ||||
* | Mostly finish cleanup for backends | Chris Robinson | 2023-12-11 | 13 | -91/+116 |
| | | | | Except CoreAudio and Solaris backends | ||||
* | Fix size check | Chris Robinson | 2023-12-11 | 1 | -2/+2 |
| | |||||
* | Finish cleanup for effects | Chris Robinson | 2023-12-11 | 14 | -249/+265 |
| | |||||
* | Fix a pointer cast | Chris Robinson | 2023-12-10 | 1 | -2/+2 |
| | |||||
* | Much more clang-tidy cleanup | Chris Robinson | 2023-12-10 | 53 | -651/+659 |
| | |||||
* | Refactor FlexArray | Chris Robinson | 2023-12-10 | 12 | -117/+124 |
| | | | | | This avoids using an array of 1 as a flexible array member, and instead uses a span to reference the memory after itself. | ||||
* | More clang-tidy cleanup | Chris Robinson | 2023-12-10 | 8 | -124/+151 |
| | | | | And suppress some warnings | ||||
* | Be less messy with PFFFT | Chris Robinson | 2023-12-09 | 5 | -56/+82 |
| | | | | | Remove a 1-element array for an over-allocated struct array. Also add a wrapper struct for C++. | ||||
* | More clang-tidy fixes | Chris Robinson | 2023-12-09 | 13 | -212/+224 |
| | |||||
* | Simplify handling the cluster sizes | Chris Robinson | 2023-12-08 | 1 | -13/+15 |
| | |||||
* | Remove some long dead code | Chris Robinson | 2023-12-08 | 1 | -68/+0 |
| | | | | It's unlikely to ever get fixed/revived now with Oboe | ||||
* | Use a fixed array for fixed-size clusters | Chris Robinson | 2023-12-08 | 3 | -46/+54 |
| | |||||
* | Clean up some more clang-tidy warnings | Chris Robinson | 2023-12-08 | 32 | -174/+184 |
| | |||||
* | Try to work around a compiler issue with HexPrinter | Chris Robinson | 2023-12-08 | 1 | -6/+7 |
| | |||||
* | Fix some clang-tidy warnings | Chris Robinson | 2023-12-08 | 39 | -284/+281 |
| | |||||
* | Improve the room rolloff factor hanlding | Chris Robinson | 2023-12-07 | 1 | -79/+100 |
| | | | | | | | | | | Testing with Generic Software shows that the reverb room rolloff factor applies to the currently selected distance model, not necessarily an inverse distance model as described in the EFX docs. Though it should be noted, Generic Software completely ignores AL_EFFECTSLOT_AUXILIARY_SEND_AUTO, never applies the cones to the wet gain, and doesn't clamp to AL_MIX_GAIN and AL_MAX_GAIN for the wet gains. It's unclear if the reverb or source room rolloff factors, or the initial decay, should be imfluenced by the min or max gain properties. | ||||
* | Add missing include for examples to have a UTF-8 main | Chris Robinson | 2023-12-06 | 8 | -0/+16 |
| | |||||
* | Don't apply the reverb room rolloff with a 0 ref distance | Chris Robinson | 2023-12-06 | 1 | -2/+3 |
| | |||||
* | Don't throw from the pipewire backend stop method | Chris Robinson | 2023-12-06 | 1 | -4/+2 |
| | |||||
* | Make sure the size is large enough for allocating a struct | Chris Robinson | 2023-12-05 | 1 | -1/+2 |
| | |||||
* | Clean up some variables for clang-tidy | Chris Robinson | 2023-12-04 | 1 | -13/+10 |
| | |||||
* | Assert that a value is in the expected range | Chris Robinson | 2023-12-04 | 1 | -0/+2 |
| | |||||
* | Remove a dead store | Chris Robinson | 2023-12-04 | 1 | -1/+0 |
| | |||||
* | Check for a valid alignment with callback buffers | Chris Robinson | 2023-12-04 | 1 | -0/+4 |
| | |||||
* | Use RAII to handle writing under the mixer seqlock | Chris Robinson | 2023-12-04 | 6 | -32/+42 |
| | |||||
* | Remove some unnecessary atomic wrappers | Chris Robinson | 2023-12-03 | 14 | -33/+34 |
| |