aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Remove DEF_NEWDELChris Robinson2023-12-1617-56/+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 backendsChris Robinson2023-12-1112-89/+110
| | | | Except CoreAudio and Solaris backends
* Much more clang-tidy cleanupChris Robinson2023-12-104-9/+10
|
* More clang-tidy cleanupChris Robinson2023-12-101-22/+36
| | | | And suppress some warnings
* Remove some long dead codeChris Robinson2023-12-081-68/+0
| | | | It's unlikely to ever get fixed/revived now with Oboe
* Clean up some more clang-tidy warningsChris Robinson2023-12-084-8/+8
|
* Fix some clang-tidy warningsChris Robinson2023-12-0810-17/+19
|
* Don't throw from the pipewire backend stop methodChris Robinson2023-12-061-4/+2
|
* Use RAII to handle writing under the mixer seqlockChris Robinson2023-12-042-2/+2
|
* Remove some unnecessary atomic wrappersChris Robinson2023-12-032-2/+2
|
* Replace a global function with a member functionChris Robinson2023-12-038-16/+10
|
* 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-255-39/+47
|
* Add query fonction in ALC_SOFT_system_events unreleased extension (#938)MathiusD2023-11-269-4/+68
| | | | | | | | | | | | | | | | | | | * 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 dynamically resizing spa_pod_builderChris Robinson2023-10-211-14/+47
| | | | Rather than relying on a fixed-size buffer
* Declare a missing variableChris Robinson2023-10-011-1/+1
|
* Get the default WASAPI device on UWPChris Robinson2023-10-011-25/+14
|
* Add a wrapper for COM initializationChris Robinson2023-09-292-34/+24
| | | | | This helps ensure COM is initialized and deinitialized in order relative to other objects (e.g. ComPtr).
* Ensure the WASAPI resample buffer is cleared when mixing startsChris Robinson2023-09-291-9/+6
| | | | | Otherwise, stopping and restarting without resetting could leave it with invalid pointers.
* Set the appropriate padding sizeChris Robinson2023-09-261-1/+1
| | | | It's based on the original/stream size, not the ALCdevice's.
* Constify some pointers to indicate they won't changeChris Robinson2023-09-251-1/+1
|
* Honor the wasapi allow-resampler option with spatial sound outputChris Robinson2023-09-241-0/+4
|
* Match the output sample rate if not requesting oneChris Robinson2023-09-241-0/+4
|
* Support resampling with WASAPI spatial audio outputChris Robinson2023-09-241-14/+67
|
* Fix cppwinrt exception type capture (#918)Deal2023-09-231-1/+1
|
* Avoid casting an integer literalChris Robinson2023-09-221-2/+2
|
* UWP: migrate C++/CX to C++/WinRT (#916)Deal2023-09-221-66/+57
|
* Try to get the device period for spatial audio streamsChris Robinson2023-09-211-30/+52
|
* Don't assume the size of AudioObjectTypeChris Robinson2023-09-211-1/+1
|
* Again try to fix handling an enum typeChris Robinson2023-09-201-1/+2
|
* Don't assume an enum's underlying typeChris Robinson2023-09-201-1/+1
|
* Fix MSVC compilationChris Robinson2023-09-201-0/+2
| | | | MinGW's headers don't seem to define operator| for AudioObjectType.
* Preliminary implementation of WASAPI spatial audio playbackChris Robinson2023-09-201-161/+538
|
* Don't use a custom config for the pipewire event loopChris Robinson2023-09-031-1/+1
|
* Avoid putting strings in fixed arrays of char arraysChris Robinson2023-09-021-21/+22
|
* Handle a null string in DeviceHelper::OnDefaultDeviceChangedChris Robinson2023-08-311-6/+6
|
* Combine separate loops into oneChris Robinson2023-08-301-5/+6
|
* Clear errno prior to the call that may set itChris Robinson2023-08-211-0/+1
|
* Track the current/active format for pipewire nodesChris Robinson2023-08-111-55/+85
|
* Use a string_view for the backend open methodChris Robinson2023-08-0619-184/+202
|
* Don't use pipewire user data storage for native proxy objectsChris Robinson2023-08-041-110/+83
|
* Use a lambda to forward a C callbackChris Robinson2023-07-201-6/+6
|
* Make C callback functions noexceptChris Robinson2023-07-201-15/+15
|
* Return noErr from DeviceListenerProc (#875)captainurist2023-07-071-0/+1
|
* Fix some typos (#872)Dirk Stolle2023-07-043-4/+4
|
* Fix a comment typoChris Robinson2023-07-041-1/+1
|
* Specify a callback using a lambdaChris Robinson2023-06-291-3/+2
|
* [UWP] Fix crash when probe capture device fail (#868)Deal(一线灵)2023-06-281-1/+4
| | | | | * [UWP] Fix crash when probe capture device fail * [UWP] Also check openDevice to avoid crash
* Set the correct dev format when autodetecting 7.1.4 in WASAPIChris Robinson2023-06-271-1/+1
|