Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using al::vector unnecessarily | Chris Robinson | 2023-05-12 | 1 | -4/+5 |
| | |||||
* | Clean up some more includes | Chris Robinson | 2023-05-12 | 1 | -7/+7 |
| | |||||
* | 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 | ||||
* | Update ComPtr and use an out_ptr() function | Chris Robinson | 2023-05-04 | 1 | -9/+6 |
| | |||||
* | Add preliminary support for 7.1.4 output modes | Chris Robinson | 2022-11-03 | 1 | -0/+3 |
| | | | | | | | | 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 5.1 Rear with DSound playback | Chris Robinson | 2022-06-08 | 1 | -42/+44 |
| | |||||
* | Handle 3D7.1 as a separate channel configuration | Chris Robinson | 2022-04-26 | 1 | -2/+4 |
| | | | | | | | 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. | ||||
* | Fix a double-release | Chris Robinson | 2021-10-23 | 1 | -2/+0 |
| | |||||
* | Use a flag to indicate headphone-like output | Chris Robinson | 2021-10-23 | 1 | -2/+1 |
| | |||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 1 | -5/+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 | -4/+4 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -3/+3 |
| | |||||
* | Move helpers.cpp to core | Chris Robinson | 2021-04-22 | 1 | -1/+1 |
| | |||||
* | Move the ComPtr wrapper to a common header | Chris Robinson | 2021-03-08 | 1 | -63/+1 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -47/+91 |
| | | | | | | | | | | | 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 | -2/+2 |
| | |||||
* | 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 | -8/+8 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -12/+15 |
| | |||||
* | Don't return an enum from captureSamples | Chris Robinson | 2020-12-17 | 1 | -12/+9 |
| | | | | It's always no_error | ||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Cast the ringbuffer size to the correct type | Chris Robinson | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Simplify some DSound capture math | Chris Robinson | 2020-10-03 | 1 | -5/+5 |
| | |||||
* | Recognize GUID name strings with the DSound backend | Chris Robinson | 2020-09-10 | 1 | -8/+22 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -7/+7 |
| | |||||
* | Set channel labels from WFX channel masks | Chris Robinson | 2020-06-15 | 1 | -103/+48 |
| | |||||
* | Move a couple related functions to the backend base | Chris Robinson | 2020-06-12 | 1 | -2/+2 |
| | |||||
* | Don't return a bool from the backend start method | Chris Robinson | 2020-04-28 | 1 | -16/+8 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -1/+2 |
| | |||||
* | 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 | -17/+20 |
| | | | | Rather than using an out parameter. | ||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -3/+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 | -2/+3 |
| | | | | | | | | 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 | -5/+4 |
| | | | | | 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 | -3/+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/+3 |
| | |||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -71/+51 |
| | |||||
* | Fix some Windows warnings | Chris Robinson | 2019-09-18 | 1 | -3/+3 |
| | |||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -14/+14 |
| | |||||
* | Clean up (most) implicit conversions in the backends | Chris Robinson | 2019-09-14 | 1 | -8/+12 |
| | |||||
* | Return unsigned values from the FromDevFmt functions | Chris Robinson | 2019-09-13 | 1 | -2/+2 |
| | |||||
* | Move the wstr converters to a separate header | Chris Robinson | 2019-08-11 | 1 | -0/+1 |
| | |||||
* | Move the dynload decls and defs to common | Chris Robinson | 2019-08-10 | 1 | -0/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+938 |