Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove DEF_NEWDEL | Chris Robinson | 2023-12-16 | 1 | -2/+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 | -18/+17 |
| | | | | Except CoreAudio and Solaris backends | ||||
* | Avoid casting an integer literal | Chris Robinson | 2023-09-22 | 1 | -2/+2 |
| | |||||
* | Use a string_view for the backend open method | Chris Robinson | 2023-08-06 | 1 | -7/+7 |
| | |||||
* | Move althrd_setname to its own source | Chris Robinson | 2023-06-01 | 1 | -1/+1 |
| | |||||
* | Avoid using al::vector unnecessarily | Chris Robinson | 2023-05-12 | 1 | -2/+2 |
| | |||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 1 | -2/+1 |
| | |||||
* | clang-tidy cleanups (#800) | Rosen Penev | 2023-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]> | ||||
* | Add preliminary support for 7.1.4 output modes | Chris Robinson | 2022-11-03 | 1 | -0/+4 |
| | | | | | | | | 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. | ||||
* | 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. | ||||
* | Avoid using an if_constexpr macro | Chris Robinson | 2022-02-22 | 1 | -14/+8 |
| | | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead. | ||||
* | Remove the last external uses of GetConfigValue | Chris Robinson | 2021-10-21 | 1 | -5/+5 |
| | |||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 1 | -1/+0 |
| | | | | | | 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 | -4/+3 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -2/+2 |
| | |||||
* | Move helpers.cpp to core | Chris Robinson | 2021-04-22 | 1 | -1/+1 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -3/+6 |
| | | | | | | | | | | | 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 if constexpr when possible | Chris Robinson | 2021-01-22 | 1 | -1/+2 |
| | |||||
* | Make the endian test more C++-like | Chris Robinson | 2021-01-21 | 1 | -2/+2 |
| | |||||
* | Fix handling paused devices with the wave writer backend | Chris Robinson | 2021-01-21 | 1 | -10/+14 |
| | |||||
* | Simplify a division | Chris Robinson | 2021-01-21 | 1 | -1/+1 |
| | | | | | The division opcode typically also generates the remainder, making the result of x%y free with x/y. | ||||
* | Remove unnecessary includes | Chris Robinson | 2020-12-24 | 1 | -2/+0 |
| | |||||
* | 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 | -57/+60 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -6/+8 |
| | |||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Use a separate structure for buffer storage | Chris Robinson | 2020-08-28 | 1 | -2/+2 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -3/+3 |
| | |||||
* | Move a couple related functions to the backend base | Chris Robinson | 2020-06-12 | 1 | -1/+1 |
| | |||||
* | Don't return a bool from the backend start method | Chris Robinson | 2020-04-28 | 1 | -7/+4 |
| | |||||
* | Get rid of a redundant enum | Chris Robinson | 2020-03-30 | 1 | -3/+3 |
| | |||||
* | Return the enumerated device names from the backend | Chris Robinson | 2020-03-30 | 1 | -7/+9 |
| | | | | Rather than using an out parameter. | ||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -4/+1 |
| | |||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 1 | -1/+2 |
| | | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist. | ||||
* | Clean up some exception messages and avoid duplicate log messages | Chris Robinson | 2019-10-08 | 1 | -3/+0 |
| | |||||
* | Avoid raw lock/unlock calls | Chris Robinson | 2019-10-07 | 1 | -3/+4 |
| | |||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -7/+7 |
| | |||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -8/+8 |
| | |||||
* | Store the ambisonic order as unsigned | Chris Robinson | 2019-09-13 | 1 | -1/+1 |
| | |||||
* | Return unsigned values from the FromDevFmt functions | Chris Robinson | 2019-09-13 | 1 | -5/+5 |
| | |||||
* | Clean up more implicit conversions | Chris Robinson | 2019-09-13 | 1 | -15/+15 |
| | |||||
* | Use al::byte for a couple more buffers | Chris Robinson | 2019-08-25 | 1 | -6/+6 |
| | |||||
* | Move the wstr converters to a separate header | Chris Robinson | 2019-08-11 | 1 | -0/+1 |
| | |||||
* | Move some declarations out of alcmain.h | Chris Robinson | 2019-08-05 | 1 | -0/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+402 |