Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try to start being a bit more pointer-owner conscious | Chris Robinson | 2023-12-26 | 4 | -45/+45 |
| | |||||
* | Clean up some gotos and non-optimal casts | Chris Robinson | 2023-12-26 | 5 | -94/+85 |
| | |||||
* | Use standard methods for rounding | Chris Robinson | 2023-12-25 | 2 | -7/+8 |
| | |||||
* | Rework effect property handling | Chris Robinson | 2023-12-24 | 14 | -120/+121 |
| | | | | 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 | 2 | -32/+53 |
| | |||||
* | Use a separate struct and union member for flanger properties | Chris Robinson | 2023-12-23 | 1 | -29/+52 |
| | |||||
* | Avoid assignments in if conditions | Chris Robinson | 2023-12-23 | 5 | -39/+56 |
| | |||||
* | Fix implicit widening after multiplication | Chris Robinson | 2023-12-23 | 3 | -4/+4 |
| | |||||
* | 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 | 15 | -108/+121 |
| | |||||
* | 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 | 1 | -1/+4 |
| | | | | | | - 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) | ||||
* | Disable rt-mix by default for PipeWire | Chris Robinson | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Use a variant instead of a union for InterpState | Chris Robinson | 2023-12-21 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Ensure struct members are initialized | Chris Robinson | 2023-12-20 | 10 | -58/+58 |
| | |||||
* | 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 | 1 | -0/+5 |
| | |||||
* | Fix some implicit conversions | Chris Robinson | 2023-12-17 | 4 | -10/+12 |
| | |||||
* | Remove DEF_NEWDEL | Chris Robinson | 2023-12-16 | 33 | -88/+0 |
| | | | | | 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 |
| | |||||
* | 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 | 3 | -39/+74 |
| | | | | 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 | 1 | -2/+2 |
| | | | | 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 | ||||
* | Finish cleanup for effects | Chris Robinson | 2023-12-11 | 13 | -247/+262 |
| | |||||
* | Much more clang-tidy cleanup | Chris Robinson | 2023-12-10 | 9 | -134/+140 |
| | |||||
* | Refactor FlexArray | Chris Robinson | 2023-12-10 | 2 | -0/+2 |
| | | | | | 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 | 4 | -117/+142 |
| | | | | And suppress some warnings | ||||
* | Be less messy with PFFFT | Chris Robinson | 2023-12-09 | 2 | -26/+14 |
| | | | | | 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 | 2 | -80/+84 |
| | |||||
* | 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 | 1 | -7/+9 |
| | |||||
* | Clean up some more clang-tidy warnings | Chris Robinson | 2023-12-08 | 10 | -57/+58 |
| | |||||
* | Fix some clang-tidy warnings | Chris Robinson | 2023-12-08 | 15 | -48/+51 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | Use RAII to handle writing under the mixer seqlock | Chris Robinson | 2023-12-04 | 4 | -27/+13 |
| | |||||
* | Remove some unnecessary atomic wrappers | Chris Robinson | 2023-12-03 | 3 | -3/+4 |
| | |||||
* | Replace a global function with a member function | Chris Robinson | 2023-12-03 | 8 | -16/+10 |
| | |||||
* | Make the device clock members atomic | Chris Robinson | 2023-12-03 | 3 | -23/+36 |
| | | | | | | Even though they're protected by a SeqLock of sorts, it's still UB to read and write non-atomic vars from different threads. It's fine to do relaxed reads and writes given the lock though, to help alleviate the cost. | ||||
* | fix printf format for MinGW (#942) | Rosen Penev | 2023-12-03 | 2 | -4/+4 |
| | | | | | | With gcc, mingw uses gnu_printf. With clang, printf is used as it does not support gnu_printf. Use the internal header to match this properly. Signed-off-by: Rosen Penev <[email protected]> | ||||
* | Adjust the secondary early reflections | Chris Robinson | 2023-12-02 | 1 | -6/+7 |
| | | | | | | | | | | | | | | This reduces the delay to provide a direct (no delay) line from the early reflections to the late reverb delay buffer. This also reduces the early reflection output gain by half. The reasoning here is that EFX seems to expect only one set of initial reflections, while we use two. And being close enough in time, nearly doubles the amount of output energy. This does seem to improve the "harshness" of certain reverbs, smoothing the difference between reverbs, and makes it more like other implementations (still some work to do on late reverb, though). | ||||
* | Avoid extra multiplies | Chris Robinson | 2023-12-01 | 1 | -3/+3 |
| | |||||
* | Rename the extension for 32-bit buffer formats | Chris Robinson | 2023-12-01 | 1 | -15/+15 |
| | |||||
* | Update some in-progress format enums | Chris Robinson | 2023-11-25 | 1 | -15/+15 |
| |