Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't declare functions outside of where they're used | Chris Robinson | 2021-10-21 | 2 | -82/+66 |
| | |||||
* | Remove the last external uses of GetConfigValue | Chris Robinson | 2021-10-21 | 2 | -34/+41 |
| | |||||
* | Add more noexcept | Chris Robinson | 2021-10-14 | 1 | -8/+8 |
| | |||||
* | Properly noexcept the destroy methods | Chris Robinson | 2021-10-14 | 1 | -5/+6 |
| | |||||
* | Fix cone angle calculation (#605) | Devin Braune | 2021-10-14 | 1 | -1/+1 |
| | |||||
* | Explicitly declare optional_storage's default constructor | Chris Robinson | 2021-10-10 | 1 | -0/+9 |
| | | | | This should help MSVC | ||||
* | Avoid manually prefixing EventType_ enums | Chris Robinson | 2021-10-10 | 4 | -32/+32 |
| | | | | And use a better fitting type that matches how it's used | ||||
* | Try again to satisfy MSVC | Chris Robinson | 2021-10-09 | 1 | -12/+12 |
| | |||||
* | Explicitly initialize the first union member | Chris Robinson | 2021-10-09 | 1 | -5/+3 |
| | |||||
* | Add more noexcept when possible | Chris Robinson | 2021-10-09 | 1 | -24/+34 |
| | | | | And try to fix MSVC missing a constructor | ||||
* | Always define optional::operator=. | Chris Robinson | 2021-10-09 | 1 | -4/+2 |
| | | | | MSVC doesn't seem to like using enable_if for special member functions. | ||||
* | Make optional more trivial when possible | Chris Robinson | 2021-10-08 | 1 | -49/+177 |
| | |||||
* | Make a construct_at method amd use it | Chris Robinson | 2021-10-08 | 15 | -37/+44 |
| | |||||
* | Add the gnu::malloc attribute to al_malloc and al_calloc | Chris Robinson | 2021-10-07 | 1 | -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::datas | Chris Robinson | 2021-10-07 | 1 | -13/+13 |
| | |||||
* | Fix the render step value for WinMM | Chris Robinson | 2021-10-05 | 1 | -3/+1 |
| | |||||
* | Fix inverted macro check | Chris Robinson | 2021-10-04 | 1 | -1/+1 |
| | |||||
* | Don't call OutputDebugStringW in Release builds | Chris Robinson | 2021-10-03 | 1 | -0/+6 |
| | |||||
* | Silence some static analysis warnings | Chris Robinson | 2021-10-03 | 6 | -15/+17 |
| | |||||
* | Remove a couple unnecessary variables | Chris Robinson | 2021-10-03 | 1 | -4/+2 |
| | |||||
* | Make simpler likely/unlikely functions and use them in some places | Chris Robinson | 2021-10-03 | 5 | -12/+16 |
| | |||||
* | Use a constexpr char array instead of duplicating strings | Chris Robinson | 2021-09-19 | 1 | -5/+6 |
| | |||||
* | Replace a hardcoded offset value | Chris Robinson | 2021-09-14 | 1 | -1/+1 |
| | |||||
* | Wait for the pipewire capture stream to start before returning | Chris Robinson | 2021-09-13 | 1 | -1/+9 |
| | |||||
* | Track whether nodes are marked as headphones | Chris Robinson | 2021-09-12 | 1 | -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 string | Chris Robinson | 2021-09-12 | 1 | -4/+6 |
| | |||||
* | Use a local unique_ptr array instead of a struct member | Chris Robinson | 2021-09-01 | 1 | -6/+5 |
| | | | | For the sndio poll fds. | ||||
* | Remove a leftover debug trace | Chris Robinson | 2021-09-01 | 1 | -1/+0 |
| | |||||
* | Fix when a PipeWire metadata property is being cleared | Chris Robinson | 2021-09-01 | 1 | -1/+8 |
| | |||||
* | Fix crashes in SndioCapture::recordProc (#594) | Andrew Krasavin | 2021-09-01 | 1 | -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 Windows | Chris Robinson | 2021-08-23 | 1 | -2/+2 |
| | | | | Clang needs it too, not just MSVC, and it doesn't seem to hurt MinGW. | ||||
* | Properly check the channel count for WASAPI capture | Chris Robinson | 2021-08-23 | 1 | -1/+2 |
| | |||||
* | Properly limit the name header comparison length | Chris Robinson | 2021-08-22 | 1 | -1/+1 |
| | |||||
* | Don't store "OpenAL Soft on " in WASAPI device names | Chris Robinson | 2021-08-22 | 1 | -21/+39 |
| | | | | It's still prepended for enumeration, just not part of the name in the DevMap. | ||||
* | Add PipeWire capture support | Chris Robinson | 2021-08-21 | 2 | -12/+282 |
| | |||||
* | Don't try to get the stream time if there's no stream | Chris Robinson | 2021-08-19 | 1 | -0/+1 |
| | |||||
* | Simplify pwire_load | Chris Robinson | 2021-08-19 | 1 | -39/+35 |
| | |||||
* | Track default devices with PipeWire | Chris Robinson | 2021-08-18 | 1 | -20/+183 |
| | |||||
* | Support getting device latency with PipeWire | Chris Robinson | 2021-08-18 | 1 | -1/+93 |
| | |||||
* | Track the actual update size used for PipeWire updates | Chris Robinson | 2021-08-18 | 1 | -1/+37 |
| | |||||
* | Minor naming and comment typo fix | Chris Robinson | 2021-08-15 | 1 | -4/+4 |
| | |||||
* | Reduce the JACK and ALSA backend priority | Chris Robinson | 2021-08-14 | 1 | -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 backend | Chris Robinson | 2021-08-14 | 1 | -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 playback | Chris Robinson | 2021-08-06 | 3 | -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 backend | Chris Robinson | 2021-08-02 | 5 | -0/+228 |
| | | | | It's just a copy of the Null backend to start with | ||||
* | Use an optional bool instead of two tri-state enums | Chris Robinson | 2021-07-31 | 3 | -73/+49 |
| | |||||
* | Fix al::optional operator* | Chris Robinson | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Use a higher quality all-pass for the UHJ utils | Chris Robinson | 2021-07-30 | 2 | -8/+17 |
| | |||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 13 | -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 variable | Chris Robinson | 2021-07-30 | 1 | -5/+3 |
| |