Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Minor naming and comment typo fix | Chris Robinson | 2021-08-15 | 1 | -4/+4 |
| | |||||
* | 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 | 2 | -71/+438 |
| | | | | | 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 | 2 | -0/+198 |
| | | | | It's just a copy of the Null backend to start with | ||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 9 | -75/+22 |
| | | | | | | 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. | ||||
* | Be more robust with unexpected channel counts | Chris Robinson | 2021-07-30 | 4 | -34/+35 |
| | |||||
* | Use non-block mode for sndio capture | Chris Robinson | 2021-07-30 | 1 | -47/+76 |
| | |||||
* | Simplify channel handling in the sndio backend | Chris Robinson | 2021-07-29 | 1 | -89/+63 |
| | |||||
* | Simplify connecting JACK ports | Chris Robinson | 2021-07-25 | 1 | -13/+11 |
| | |||||
* | Set the CoreAudio stream according to the device channel format | Chris Robinson | 2021-07-24 | 1 | -53/+19 |
| | |||||
* | Remove a redundant buffer clear | Chris Robinson | 2021-07-24 | 1 | -11/+0 |
| | |||||
* | Don't assume more than stereo for unrequested ALSA channels | Chris Robinson | 2021-07-24 | 1 | -45/+35 |
| | | | | | | If setting the requested format channel count fails, getting anything with 2 or more channels assumes the first two channels are stereo, leaving the rest silent. | ||||
* | Fix the device sample type in the SDL2 backend | Chris Robinson | 2021-07-24 | 1 | -6/+6 |
| | |||||
* | Attempt to support capture enumeration with CoreAudio | Chris Robinson | 2021-07-10 | 1 | -45/+72 |
| | |||||
* | Use variables and types when they're defined | Chris Robinson | 2021-07-09 | 1 | -0/+6 |
| | |||||
* | Don't define enumeration functions when they're not used | Chris Robinson | 2021-07-09 | 1 | -16/+25 |
| | |||||
* | Use a unique_ptr to hold raw byte memory | Chris Robinson | 2021-06-21 | 1 | -2/+4 |
| | |||||
* | Fix getting of device channel count in CoreAudio backend | alexey.lysiuk | 2021-06-21 | 1 | -3/+1 |
| | | | | | | | AudioBufferList contains a variable length array of mNumberBuffers elements, so it should not be created with the default constructor like usual class instances. Unfortunately, Apple developer site documentation is literally empty for this API. There is a bunch of comments in framework's header files. Here is the correct usage of AudioBufferList pointer from Chromium: https://chromium.googlesource.com/chromium/src/media/+/008a1abc573e1f8bcf513b50ce48a923b30ef130/audio/mac/audio_manager_mac.cc#266 There were occasional crashes because of memory corruption which was confirmed by address sanitizer | ||||
* | Fix some size types | Chris Robinson | 2021-06-18 | 1 | -2/+2 |
| | |||||
* | Initial attempt at CoreAudio playback enumeration | Chris Robinson | 2021-06-18 | 1 | -14/+253 |
| | |||||
* | Use a unique_ptr to auto-free the jack ports list | Chris Robinson | 2021-06-12 | 1 | -20/+24 |
| | |||||
* | Set the JACK output ports as terminal | Chris Robinson | 2021-06-12 | 1 | -1/+1 |
| | | | | Since there are no input ports associated with the output. |