Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some common wrapper methods to ThreadMainloop | Chris Robinson | 2022-01-26 | 1 | -42/+46 |
| | |||||
* | Default the PipeWire lock's operator= instead of using the base | Chris Robinson | 2022-01-26 | 1 | -1/+1 |
| | |||||
* | Handle 5.1 using rear channels with PulseAudio and PipeWire | Chris Robinson | 2022-01-25 | 2 | -105/+60 |
| | |||||
* | Move some definitions to where they're used | Chris Robinson | 2022-01-24 | 1 | -2/+2 |
| | |||||
* | Avoid a messy while loop to remove from a vector | Chris Robinson | 2022-01-22 | 1 | -11/+8 |
| | |||||
* | Restructure the PipeWire backend code a bit | Chris Robinson | 2022-01-22 | 1 | -219/+235 |
| | | | | | Make some functions into class member functions, and move related declarations closer together. | ||||
* | Avoid holding a pw_proxy, hold the type it represents | Chris Robinson | 2022-01-22 | 1 | -36/+70 |
| | |||||
* | Handle duplex devices with PipeWire | Chris Robinson | 2022-01-22 | 1 | -22/+43 |
| | |||||
* | Load the PipeWire real-time configuration | Chris Robinson | 2022-01-17 | 1 | -18/+57 |
| | | | | | This is apparently needed to ensure RT threads get RT priority, separately from requesting RT processing. | ||||
* | Avoid a static-sized char array on the stack | Chris Robinson | 2021-12-31 | 1 | -16/+22 |
| | |||||
* | Avoid some unnecessary copying | Chris Robinson | 2021-12-31 | 1 | -10/+9 |
| | |||||
* | Some more restructuring of the PipeWire backend | Chris Robinson | 2021-12-30 | 1 | -73/+58 |
| | |||||
* | Set the node rate for the pipewire capture stream too | Chris Robinson | 2021-12-29 | 1 | -0/+1 |
| | |||||
* | Move some constexpr variables to where they're used | Chris Robinson | 2021-12-28 | 1 | -50/+47 |
| | |||||
* | C++-ize the PipeWire backend some more | Chris Robinson | 2021-12-28 | 1 | -61/+94 |
| | | | | | | | | | Use unique_ptrs for a few more types to avoid explicit free calls. Move ThreadMainloop::wait to the unique_lock wrapper that's holding the lock. Since the mainloop acts as both a lock and condition_variable, passing the lock to the wait method makes no sense. Also have it optionally take a predicate functor to dictate when to stop waiting. | ||||
* | Check for audio devices when initializing PipeWire | Chris Robinson | 2021-12-25 | 1 | -3/+64 |
| | | | | | | | | | | | This isn't great since it can fail when PipeWire is handling audio but no devices are available at initialization, causing the Pulseaudio or ALSA backend to be selected instead. Future versions of PipeWire are expected to have a better way to detect if it's handling audio, but for now this is better than nothing. A config option is available for users to have the PipeWire backend be usable even with no devices at initialization, just in case. | ||||
* | Set the PipeWire stream rate | Chris Robinson | 2021-12-16 | 1 | -0/+1 |
| | | | | | When requesting a non-default rate, this may allow the hardware to run at the requested rate. | ||||
* | Downgrade some ERRs to WARNs | Chris Robinson | 2021-11-21 | 1 | -2/+2 |
| | |||||
* | Make the backend pointer part of ALCdevice instead of DeviceBase | Chris Robinson | 2021-11-19 | 1 | -2/+1 |
| | |||||
* | Handle SPA_CHOICE_None for sample rates from PipeWire | Chris Robinson | 2021-11-14 | 1 | -52/+59 |
| | |||||
* | Report unexpected types for the sample rate from PipeWire | Chris Robinson | 2021-11-14 | 1 | -42/+44 |
| | |||||
* | Support "enum" choices for sample rates with PipeWire | Chris Robinson | 2021-11-14 | 1 | -8/+48 |
| | |||||
* | Don't trace unused metadata properties and node types | Chris Robinson | 2021-10-26 | 1 | -6/+0 |
| | | | | | | | As useful as it may sometimes be to see what's being provided, at least under kwin_wayland a not-insignificant number of video-related nodes and metadata properties are sent through normal use of the system (most notably when hovering over the taskbar to see window thumbnails). | ||||
* | Don't change the requested format when it's usable with WASAPI | Chris Robinson | 2021-10-25 | 1 | -19/+53 |
| | |||||
* | Fix a double-release | Chris Robinson | 2021-10-23 | 1 | -2/+0 |
| | |||||
* | Use a flag to indicate headphone-like output | Chris Robinson | 2021-10-23 | 4 | -8/+6 |
| | |||||
* | Remove the last external uses of GetConfigValue | Chris Robinson | 2021-10-21 | 2 | -34/+41 |
| | |||||
* | Make a construct_at method amd use it | Chris Robinson | 2021-10-08 | 1 | -4/+4 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -6/+6 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -12/+280 |
| | |||||
* | 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 |
| |