Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using bit_cast for pointer types | Chris Robinson | 2024-01-03 | 1 | -5/+4 |
| | |||||
* | Clean up some gotos and non-optimal casts | Chris Robinson | 2023-12-26 | 1 | -11/+6 |
| | |||||
* | Avoid assignments in if conditions | Chris Robinson | 2023-12-23 | 1 | -1/+2 |
| | |||||
* | Use string_views for querying config parameters | Chris Robinson | 2023-12-21 | 1 | -2/+2 |
| | |||||
* | Ensure struct members are initialized | Chris Robinson | 2023-12-20 | 1 | -17/+17 |
| | |||||
* | 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. | ||||
* | Much more clang-tidy cleanup | Chris Robinson | 2023-12-10 | 1 | -1/+2 |
| | |||||
* | Fix some clang-tidy warnings | Chris Robinson | 2023-12-08 | 1 | -2/+2 |
| | |||||
* | Use a string_view for the backend open method | Chris Robinson | 2023-08-06 | 1 | -12/+12 |
| | |||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 1 | -2/+2 |
| | |||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 1 | -1/+2 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | Be more robust with unexpected channel counts | Chris Robinson | 2021-07-30 | 1 | -1/+1 |
| | |||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -4/+4 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -3/+3 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -15/+20 |
| | | | | | | | | | | | 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. | ||||
* | 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 | -11/+11 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -8/+10 |
| | |||||
* | Don't return an enum from captureSamples | Chris Robinson | 2020-12-17 | 1 | -9/+6 |
| | | | | It's always no_error | ||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -1/+1 |
| | |||||
* | 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 | -17/+11 |
| | |||||
* | Avoid a function call to get the frame step | Chris Robinson | 2020-04-13 | 1 | -1/+1 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -0/+1 |
| | |||||
* | 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 | -6/+8 |
| | | | | Rather than using an out parameter. | ||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -1/+0 |
| | |||||
* | Make CreateRingBuffer a static RingBuffer method | Chris Robinson | 2020-01-10 | 1 | -1/+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. | ||||
* | Make C callbacks noexcept | Chris Robinson | 2019-10-09 | 1 | -12/+10 |
| | | | | | No telling what would happen if exceptions managed to get back into presumably C-based callers. | ||||
* | Never return null from CreateRingBuffer | Chris Robinson | 2019-10-08 | 1 | -1/+0 |
| | | | | | Allocation failure would already throw a bad_alloc anyway, now a size overflow throws an exception too. | ||||
* | Clean up some exception messages and avoid duplicate log messages | Chris Robinson | 2019-10-08 | 1 | -5/+0 |
| | |||||
* | Avoid raw lock/unlock calls | Chris Robinson | 2019-10-07 | 1 | -2/+1 |
| | |||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -68/+61 |
| | |||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -15/+15 |
| | |||||
* | Return unsigned values from the FromDevFmt functions | Chris Robinson | 2019-09-13 | 1 | -5/+5 |
| | |||||
* | Move the dynload decls and defs to common | Chris Robinson | 2019-08-10 | 1 | -1/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+463 |