Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using bit_cast for pointer types | Chris Robinson | 2024-01-03 | 1 | -9/+4 |
| | |||||
* | Clean up some gotos and non-optimal casts | Chris Robinson | 2023-12-26 | 1 | -2/+3 |
| | |||||
* | Avoid assignments in if conditions | Chris Robinson | 2023-12-23 | 1 | -2/+2 |
| | |||||
* | Use string_views for querying config parameters | Chris Robinson | 2023-12-21 | 1 | -6/+6 |
| | |||||
* | Ensure struct members are initialized | Chris Robinson | 2023-12-20 | 1 | -2/+2 |
| | |||||
* | Remove DEF_NEWDEL | Chris Robinson | 2023-12-16 | 1 | -4/+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. | ||||
* | Mostly finish cleanup for backends | Chris Robinson | 2023-12-11 | 1 | -10/+19 |
| | | | | Except CoreAudio and Solaris backends | ||||
* | Replace a global function with a member function | Chris Robinson | 2023-12-03 | 1 | -2/+2 |
| | |||||
* | Fix some unused parameter and unhandled enum warnings | Chris Robinson | 2023-11-25 | 1 | -8/+10 |
| | |||||
* | Add query fonction in ALC_SOFT_system_events unreleased extension (#938) | MathiusD | 2023-11-26 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | * feat(ALC_SOFT_system_events): Add alcEventIsSupportedSOFT method in ALC_SOFT_system_events unreleased extension The purpose of this addition (to my collection) are allow to retrieve which events are supported and if events are fully supported or if some case isn't managed for some reason For exemple only some backends provide system events: * pipewire -> Full support of extension * wasapi -> Full support of extension * pulseaudio -> Support of add and remove devices events only * coreaudio -> Support of default device change only * feat(ALC_SOFT_system_events): Fix typo in alext.h Cf following review : https://github.com/kcat/openal-soft/pull/938#discussion_r1404509828 * feat(ALC_SOFT_system_events): Remove ALC_EVENT_NOT_SUPPORTED_SOFT token Cf following discussions between this comment : https://github.com/kcat/openal-soft/pull/938#issuecomment-1825876452 to this comment : https://github.com/kcat/openal-soft/pull/938#issuecomment-1826419406 | ||||
* | Use a string_view for the backend open method | Chris Robinson | 2023-08-06 | 1 | -8/+8 |
| | |||||
* | Specify the device type for the event callback | Chris Robinson | 2023-06-01 | 1 | -2/+4 |
| | |||||
* | Handle device added/removed events with PulseAudio | Chris Robinson | 2023-06-01 | 1 | -0/+42 |
| | |||||
* | Add a context to PulseMainloop | Chris Robinson | 2023-06-01 | 1 | -84/+64 |
| | |||||
* | Avoid using al::vector unnecessarily | Chris Robinson | 2023-05-12 | 1 | -3/+3 |
| | |||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 1 | -8/+7 |
| | |||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 1 | -1/+2 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 1 | -3/+3 |
| | |||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 1 | -12/+12 |
| | | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places. | ||||
* | clang-tidy cleanups (#800) | Rosen Penev | 2023-01-15 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]> | ||||
* | Don't explicitly try to spawn servers by default | Chris Robinson | 2023-01-14 | 1 | -1/+1 |
| | |||||
* | Avoid using a non-0 span length over nullptr | Chris Robinson | 2023-01-13 | 1 | -17/+32 |
| | |||||
* | Write proper samples when starting the PulseAudio stream | Chris Robinson | 2023-01-13 | 1 | -17/+3 |
| | | | | | Instead of silence, to ensure the number of samples written to PulseAudio is the same as the number mixed/rendered. | ||||
* | Avoid single-use static class method wrappers | Chris Robinson | 2023-01-13 | 1 | -81/+46 |
| | |||||
* | Avoid unnecessary uses of make_optional | Chris Robinson | 2023-01-13 | 1 | -2/+4 |
| | |||||
* | Avoid some explicit casts and references | Chris Robinson | 2023-01-01 | 1 | -7/+11 |
| | |||||
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 1 | -12/+12 |
| | |||||
* | Avoid LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -13/+13 |
| | |||||
* | Add preliminary support for 7.1.4 output modes | Chris Robinson | 2022-11-03 | 1 | -1/+17 |
| | | | | | | | | I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start. | ||||
* | Remove unnecessary includes and forward declarations | Chris Robinson | 2022-09-23 | 1 | -7/+0 |
| | |||||
* | Remove an unnecessary include | Chris Robinson | 2022-09-22 | 1 | -1/+0 |
| | |||||
* | Use PulseAudio's threaded mainloop instead of a custom one | Chris Robinson | 2022-09-22 | 1 | -141/+160 |
| | |||||
* | Handle 3D7.1 as a separate channel configuration | Chris Robinson | 2022-04-26 | 1 | -0/+2 |
| | | | | | | | It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to behave better, not forwarding rear left/right channel inputs to lower front and upper rear, and allows reporting a more appropriate output mode to the app instead of 7.1. | ||||
* | Handle 5.1 using rear channels with PulseAudio and PipeWire | Chris Robinson | 2022-01-25 | 1 | -82/+14 |
| | |||||
* | Use a flag to indicate headphone-like output | Chris Robinson | 2021-10-23 | 1 | -2/+2 |
| | |||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 1 | -7/+1 |
| | | | | | | It messes with 5.1 sources using direct channels, and the surround channels are supposed to map to the side labels. Individual backends can deal with the channel order/label differences, as they already do to a degree. | ||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -2/+2 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Move GetChannelIdxByName and clean up some more includes | Chris Robinson | 2021-04-26 | 1 | -10/+26 |
| | |||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -4/+4 |
| | |||||
* | Move helpers.cpp to core | Chris Robinson | 2021-04-22 | 1 | -1/+1 |
| | |||||
* | Move declarations to a more appropriate header | Chris Robinson | 2021-04-22 | 1 | -0/+1 |
| | |||||
* | Fill the PulseAudio buffer before uncorking playback | Chris Robinson | 2021-04-19 | 1 | -14/+14 |
| | |||||
* | Don't force application name with pulseaudio | Ilya Fedin | 2021-03-18 | 1 | -8/+1 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -3/+14 |
| | | | | | | | | | | | It will not be called while the device is running. If the first call succeeds, a subsequent call that happens to fail must leave the existing device state as it was so it can be resumed. This is a rough first pass. It will fail when trying to re-open the same device which can only be opened once (for instance, with direct hardware access, on hardware that doesn't do its own mixing). Some backends won't guarantee the new device is usable until the reset() or start() call. | ||||
* | Use a standard bitset for bitfield flags | Chris Robinson | 2021-01-22 | 1 | -3/+3 |
| | |||||
* | Use a span instead of passing a vector by reference | Chris Robinson | 2021-01-11 | 1 | -5/+5 |
| | |||||
* | Make sure proper names are used for querying PulseAudio info | Chris Robinson | 2021-01-10 | 1 | -5/+5 |
| | |||||
* | Pass nullptr to pulse for default device | Ilya Fedin | 2021-01-10 | 1 | -42/+13 |
| | |||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 1 | -1/+0 |
| | |||||
* | Avoid AL/ALC types in the backends | Chris Robinson | 2020-12-17 | 1 | -16/+16 |
| |