aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/base.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use RAII to handle writing under the mixer seqlockChris Robinson2023-12-041-1/+1
|
* Remove some unnecessary atomic wrappersChris Robinson2023-12-031-1/+1
|
* Replace a global function with a member functionChris Robinson2023-12-031-1/+1
|
* Use std::byte instead of a custom al::byteChris Robinson2023-05-041-1/+1
|
* Replace al::optional with std::optionalChris Robinson2023-05-041-1/+0
|
* Change a couple macros to constexpr variablesChris Robinson2023-01-161-2/+2
|
* Avoid inlining certain exception functionsChris Robinson2022-12-161-0/+14
|
* Add preliminary support for 7.1.4 output modesChris Robinson2022-11-031-0/+28
| | | | | | | | 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 configurationChris Robinson2022-04-261-54/+20
| | | | | | | 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.
* Make some local constexpr variables staticChris Robinson2022-02-231-2/+2
|
* Avoid 5.1Rear as its own channel configurationChris Robinson2021-07-301-12/+10
| | | | | | 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.
* Move GetChannelIdxByName and clean up some more includesChris Robinson2021-04-261-5/+6
|
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-221-1/+2
|
* Move alexcpt to coreChris Robinson2020-12-241-1/+0
|
* Avoid AL/ALC types in the backendsChris Robinson2020-12-171-2/+0
|
* Don't use ALC error enums for the backend error codeChris Robinson2020-12-171-2/+2
|
* Don't return an enum from captureSamplesChris Robinson2020-12-171-8/+8
| | | | It's always no_error
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Use inline functions for popcnt and ctz instead of macrosChris Robinson2020-10-131-1/+1
|
* Set channel labels from WFX channel masksChris Robinson2020-06-151-0/+55
|
* Don't bother with otherwise unused Aux channelsChris Robinson2020-06-151-25/+0
|
* Move a couple related functions to the backend baseChris Robinson2020-06-121-0/+121
|
* Inline a small helper methodChris Robinson2020-03-301-10/+0
|
* Inline a couple BackendBase methodsChris Robinson2020-03-301-5/+0
|
* Add a helper to wait for the device mixChris Robinson2020-03-031-2/+1
|
* Fix BackendVase typoChris Robinson2019-10-071-1/+1
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-1/+2
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-3/+3
|
* Clean up more implicit conversionsChris Robinson2019-09-131-1/+2
|
* Add a common base for auto-deleting ref-counted objectsChris Robinson2019-08-011-2/+2
| | | | Which will also work as the basis for a future intrusive_ptr
* More include cleanupChris Robinson2019-07-291-4/+6
|
* Rename Alc to alcChris Robinson2019-07-281-0/+58