aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't declare functions outside of where they're usedChris Robinson2021-10-212-82/+66
|
* Remove the last external uses of GetConfigValueChris Robinson2021-10-212-34/+41
|
* Add more noexceptChris Robinson2021-10-141-8/+8
|
* Properly noexcept the destroy methodsChris Robinson2021-10-141-5/+6
|
* Fix cone angle calculation (#605)Devin Braune2021-10-141-1/+1
|
* Explicitly declare optional_storage's default constructorChris Robinson2021-10-101-0/+9
| | | | This should help MSVC
* Avoid manually prefixing EventType_ enumsChris Robinson2021-10-104-32/+32
| | | | And use a better fitting type that matches how it's used
* Try again to satisfy MSVCChris Robinson2021-10-091-12/+12
|
* Explicitly initialize the first union memberChris Robinson2021-10-091-5/+3
|
* Add more noexcept when possibleChris Robinson2021-10-091-24/+34
| | | | And try to fix MSVC missing a constructor
* Always define optional::operator=.Chris Robinson2021-10-091-4/+2
| | | | MSVC doesn't seem to like using enable_if for special member functions.
* Make optional more trivial when possibleChris Robinson2021-10-081-49/+177
|
* Make a construct_at method amd use itChris Robinson2021-10-0815-37/+44
|
* Add the gnu::malloc attribute to al_malloc and al_callocChris Robinson2021-10-071-2/+4
| | | | | | This helps the compiler know the returned pointer won't alias another pointer or existing object, since it's a fresh allocation, and is unlikely to return nullptr.
* Avoid double indirection to access spa_data::datasChris Robinson2021-10-071-13/+13
|
* Fix the render step value for WinMMChris Robinson2021-10-051-3/+1
|
* Fix inverted macro checkChris Robinson2021-10-041-1/+1
|
* Don't call OutputDebugStringW in Release buildsChris Robinson2021-10-031-0/+6
|
* Silence some static analysis warningsChris Robinson2021-10-036-15/+17
|
* Remove a couple unnecessary variablesChris Robinson2021-10-031-4/+2
|
* Make simpler likely/unlikely functions and use them in some placesChris Robinson2021-10-035-12/+16
|
* Use a constexpr char array instead of duplicating stringsChris Robinson2021-09-191-5/+6
|
* Replace a hardcoded offset valueChris Robinson2021-09-141-1/+1
|
* Wait for the pipewire capture stream to start before returningChris Robinson2021-09-131-1/+9
|
* Track whether nodes are marked as headphonesChris Robinson2021-09-121-2/+14
| | | | | | Newer versions of PipeWire copy the PW_KEY_DEVICE_FORM_FACTOR property to the sink node, so this should work to detect whether the device should be treated as headphones or not.
* Use a constexpr char array for a reused prefix stringChris Robinson2021-09-121-4/+6
|
* Use a local unique_ptr array instead of a struct memberChris Robinson2021-09-011-6/+5
| | | | For the sndio poll fds.
* Remove a leftover debug traceChris Robinson2021-09-011-1/+0
|
* Fix when a PipeWire metadata property is being clearedChris Robinson2021-09-011-1/+8
|
* Fix crashes in SndioCapture::recordProc (#594)Andrew Krasavin2021-09-011-0/+9
| | | | | | * Fix crashes while capturing audio using openal with sndio backend. * Proper function for mFds preallocation. Now it is checked whether the returned value of the sin_nfds() function is not a negative number.
* Always define NOMINMAX on WindowsChris Robinson2021-08-231-2/+2
| | | | Clang needs it too, not just MSVC, and it doesn't seem to hurt MinGW.
* Properly check the channel count for WASAPI captureChris Robinson2021-08-231-1/+2
|
* Properly limit the name header comparison lengthChris Robinson2021-08-221-1/+1
|
* Don't store "OpenAL Soft on " in WASAPI device namesChris Robinson2021-08-221-21/+39
| | | | It's still prepended for enumeration, just not part of the name in the DevMap.
* Add PipeWire capture supportChris Robinson2021-08-212-12/+282
|
* Don't try to get the stream time if there's no streamChris Robinson2021-08-191-0/+1
|
* Simplify pwire_loadChris Robinson2021-08-191-39/+35
|
* Track default devices with PipeWireChris Robinson2021-08-181-20/+183
|
* Support getting device latency with PipeWireChris Robinson2021-08-181-1/+93
|
* Track the actual update size used for PipeWire updatesChris Robinson2021-08-181-1/+37
|
* Minor naming and comment typo fixChris Robinson2021-08-151-4/+4
|
* Reduce the JACK and ALSA backend priorityChris Robinson2021-08-141-6/+6
| | | | | | | | | | | | | With the increased use of PipeWire, which offers JACK compatibility, the JACK backend has a higher potential to be auto-selected for users. However, due to the backend's inability to auto-configure output to the device format, this creates a less optimal out-of-the-box experience. Unfortunately this also means the JACK backend won't be used automatically when a real JACK server is running along with PulseAudio. While not ideal, this is probably the better of the two options, to have the user explicitly configure the library to use JACK when they really want to use it, instead of unwantingly selecting JACK because of PipeWire.
* Add enumeration support to the PipeWire backendChris Robinson2021-08-141-45/+667
| | | | | This does not currently track the default devices, and simply gives which came up first. More work is needed to find the default source/sink node IDs.
* Implement PipeWire playbackChris Robinson2021-08-063-72/+439
| | | | | Not yet an auto-selected backend. This doesn't yet support enumeration, or matching the AL device format to the output.
* Start a PipeWire backendChris Robinson2021-08-025-0/+228
| | | | It's just a copy of the Null backend to start with
* Use an optional bool instead of two tri-state enumsChris Robinson2021-07-313-73/+49
|
* Fix al::optional operator*Chris Robinson2021-07-311-1/+1
|
* Use a higher quality all-pass for the UHJ utilsChris Robinson2021-07-302-8/+17
|
* Avoid 5.1Rear as its own channel configurationChris Robinson2021-07-3013-114/+27
| | | | | | 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.
* Remove an unused variableChris Robinson2021-07-301-5/+3
|