aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/base.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix some implicit conversionsChris Robinson2023-12-171-3/+2
|
* Clean up some more clang-tidy warningsChris Robinson2023-12-081-1/+1
|
* Replace a global function with a member functionChris Robinson2023-12-031-6/+0
|
* Make the device clock members atomicChris Robinson2023-12-031-8/+2
| | | | | | Even though they're protected by a SeqLock of sorts, it's still UB to read and write non-atomic vars from different threads. It's fine to do relaxed reads and writes given the lock though, to help alleviate the cost.
* fix printf format for MinGW (#942)Rosen Penev2023-12-031-2/+2
| | | | | | With gcc, mingw uses gnu_printf. With clang, printf is used as it does not support gnu_printf. Use the internal header to match this properly. Signed-off-by: Rosen Penev <[email protected]>
* Fix some unused parameter and unhandled enum warningsChris Robinson2023-11-251-3/+2
|
* Add query fonction in ALC_SOFT_system_events unreleased extension (#938)MathiusD2023-11-261-0/+5
| | | | | | | | | | | | | | | | | | | * 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 methodChris Robinson2023-08-061-1/+2
|
* Use std::byte instead of a custom al::byteChris Robinson2023-05-041-2/+2
|
* Avoid inlining certain exception functionsChris Robinson2022-12-161-7/+3
|
* Handle 3D7.1 as a separate channel configurationChris Robinson2022-04-261-5/+0
| | | | | | | 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 the backend pointer part of ALCdevice instead of DeviceBaseChris Robinson2021-11-191-2/+1
|
* Move GetChannelIdxByName and clean up some more includesChris Robinson2021-04-261-2/+3
|
* Use the DeviceBase for the backendChris Robinson2021-04-241-5/+5
|
* Workaround mingw complaining about the %z formatterChris Robinson2021-03-121-0/+4
|
* Move alexcpt to coreChris Robinson2020-12-241-1/+1
|
* Don't use ALC error enums for the backend error codeChris Robinson2020-12-171-5/+11
|
* Move the AL error enum out of base_exceptionChris Robinson2020-12-171-1/+4
|
* Don't return an enum from captureSamplesChris Robinson2020-12-171-4/+4
| | | | It's always no_error
* Set channel labels from WFX channel masksChris Robinson2020-06-151-0/+5
|
* Move a couple related functions to the backend baseChris Robinson2020-06-121-0/+6
|
* Don't return a bool from the backend start methodChris Robinson2020-04-281-1/+1
|
* Use a common base for a couple exceptionsChris Robinson2020-04-101-1/+18
|
* Inline a small helper methodChris Robinson2020-03-301-14/+24
|
* Get rid of a redundant enumChris Robinson2020-03-301-6/+1
|
* Return the enumerated device names from the backendChris Robinson2020-03-301-1/+1
| | | | Rather than using an out parameter.
* Inline a couple BackendBase methodsChris Robinson2020-03-301-3/+3
|
* Remove the mutex from the backend baseChris Robinson2020-03-291-2/+0
|
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-261-3/+0
|
* Remove a couple unnecessary type aliasesChris Robinson2020-02-221-2/+0
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-1/+1
|
* Make the BackendFactory base destructor protectedChris Robinson2019-09-151-2/+3
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-3/+4
|
* Enable and fix more warningsChris Robinson2019-09-141-0/+2
|
* More include cleanupChris Robinson2019-07-291-2/+4
|
* Rename Alc to alcChris Robinson2019-07-281-0/+78