aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Try to start being a bit more pointer-owner consciousChris Robinson2023-12-261-39/+39
|
* Clean up some gotos and non-optimal castsChris Robinson2023-12-264-88/+79
|
* Use standard methods for roundingChris Robinson2023-12-251-4/+5
|
* Avoid assignments in if conditionsChris Robinson2023-12-234-22/+36
|
* Fix implicit widening after multiplicationChris Robinson2023-12-233-4/+4
|
* Remove an unnecessary std::maxChris Robinson2023-12-211-3/+2
|
* Use string_views for querying config parametersChris Robinson2023-12-219-38/+37
|
* Disable rt-mix by default for PipeWireChris Robinson2023-12-211-1/+1
|
* Ensure struct members are initializedChris Robinson2023-12-203-20/+20
|
* Set Oboe usage to GameChris Robinson2023-12-181-0/+1
| | | | | OpenAL isn't only for games, but this seems to be the setting for interactive low-latency audio.
* Fix and cleanup some more warningsChris Robinson2023-12-181-0/+5
|
* Fix some implicit conversionsChris Robinson2023-12-171-3/+2
|
* 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
|