aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rework effect property handlingChris Robinson2023-12-2432-1310/+1136
| | | | To nake EffectProps a variant instead of a union, and avoid manual vtables.
* Use separate structs for the dedicated dialog/lfe effectsChris Robinson2023-12-237-56/+143
|
* Use a separate struct and union member for flanger propertiesChris Robinson2023-12-233-80/+101
|
* Avoid assignments in if conditionsChris Robinson2023-12-238-44/+62
|
* Fix implicit widening after multiplicationChris Robinson2023-12-2317-88/+90
|
* Pass the effect props directly to the eax committer functionsChris Robinson2023-12-2313-418/+236
| | | | Rather than the variant that was already checked for what it's holding.
* Avoid some template hackery for EAX effect type functionsChris Robinson2023-12-2212-215/+169
|
* Avoid a function-like macro for calling to EAX effectsChris Robinson2023-12-221-20/+35
|
* Replace a series of if statements with a switchChris Robinson2023-12-221-24/+16
|
* Use std::visit instead of manually checking the set typeChris Robinson2023-12-221-25/+15
|
* Remove an unnecessary std::maxChris Robinson2023-12-211-3/+2
|
* Use string_views for querying config parametersChris Robinson2023-12-2116-109/+122
|
* Use string_views to help parse config filesChris Robinson2023-12-211-85/+78
|
* Use a bool for a 0/1 valueChris Robinson2023-12-211-4/+4
|
* [EAX] Fix error handling (#953)Boris I. Bendovsky2023-12-212-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 EffectPropsChris Robinson2023-12-211-118/+132
|
* Disable rt-mix by default for PipeWireChris Robinson2023-12-212-2/+2
|
* Use a variant instead of a union for InterpStateChris Robinson2023-12-216-55/+77
|
* Avoid using a couple C limits macrosChris Robinson2023-12-201-2/+3
|
* Use proper iterators for sorting effect slots where possibleChris Robinson2023-12-201-7/+4
|
* Update span to better check out-of-bounds subspan requestsChris Robinson2023-12-201-37/+77
|
* Ensure struct members are initializedChris Robinson2023-12-2022-124/+124
|
* Use -static-libstdc++ to static link libstdc++Chris Robinson2023-12-191-2/+2
|
* Set Oboe usage to GameChris Robinson2023-12-181-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 warningsChris Robinson2023-12-183-19/+30
|
* Fix some implicit conversionsChris Robinson2023-12-1712-48/+45
|
* Remove DEF_NEWDELChris Robinson2023-12-1644-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 listChris Robinson2023-12-151-1/+1
|
* Mark constructors noexcept as neededChris Robinson2023-12-151-3/+9
|
* Catch a potential exception to free memoryChris Robinson2023-12-151-3/+13
|
* Remove unnecessary macro parameter listsChris Robinson2023-12-1510-15/+15
|
* Properly check if size_t is larger than uint32_tChris Robinson2023-12-151-1/+1
|
* Add some noexcept for free functionsChris Robinson2023-12-152-17/+20
|
* Fix clang-tidy warnings from the examples and utilitiesChris Robinson2023-12-1312-372/+360
|
* Don't fail alcDevicePauseSOFT for disconnected devicesChris Robinson2023-12-131-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 itChris Robinson2023-12-121-7/+4
|
* Track the device state for being properly configuredChris Robinson2023-12-124-41/+81
| | | | And don't allow resuming if the backend device isn't properly set up.
* Remove void from empty parameter listsChris Robinson2023-12-1210-66/+71
| | | | Also convert some functions to trailing return types and remove (void) casts.
* Mostly finish cleanup for backendsChris Robinson2023-12-1113-91/+116
| | | | Except CoreAudio and Solaris backends
* Fix size checkChris Robinson2023-12-111-2/+2
|
* Finish cleanup for effectsChris Robinson2023-12-1114-249/+265
|
* Fix a pointer castChris Robinson2023-12-101-2/+2
|
* Much more clang-tidy cleanupChris Robinson2023-12-1053-651/+659
|
* Refactor FlexArrayChris Robinson2023-12-1012-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 cleanupChris Robinson2023-12-108-124/+151
| | | | And suppress some warnings
* Be less messy with PFFFTChris Robinson2023-12-095-56/+82
| | | | | Remove a 1-element array for an over-allocated struct array. Also add a wrapper struct for C++.
* More clang-tidy fixesChris Robinson2023-12-0913-212/+224
|
* Simplify handling the cluster sizesChris Robinson2023-12-081-13/+15
|
* Remove some long dead codeChris Robinson2023-12-081-68/+0
| | | | It's unlikely to ever get fixed/revived now with Oboe
* Use a fixed array for fixed-size clustersChris Robinson2023-12-083-46/+54
|