Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 1 | -12/+12 |
| | |||||
* | Avoid LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -13/+13 |
| | |||||
* | Add preliminary support for 7.1.4 output modes | Chris Robinson | 2022-11-03 | 1 | -1/+17 |
| | | | | | | | | I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start. | ||||
* | Remove unnecessary includes and forward declarations | Chris Robinson | 2022-09-23 | 1 | -7/+0 |
| | |||||
* | Remove an unnecessary include | Chris Robinson | 2022-09-22 | 1 | -1/+0 |
| | |||||
* | Use PulseAudio's threaded mainloop instead of a custom one | Chris Robinson | 2022-09-22 | 1 | -141/+160 |
| | |||||
* | Handle 3D7.1 as a separate channel configuration | Chris Robinson | 2022-04-26 | 1 | -0/+2 |
| | | | | | | | It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to behave better, not forwarding rear left/right channel inputs to lower front and upper rear, and allows reporting a more appropriate output mode to the app instead of 7.1. | ||||
* | Handle 5.1 using rear channels with PulseAudio and PipeWire | Chris Robinson | 2022-01-25 | 1 | -82/+14 |
| | |||||
* | Use a flag to indicate headphone-like output | Chris Robinson | 2021-10-23 | 1 | -2/+2 |
| | |||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 1 | -7/+1 |
| | | | | | | 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. | ||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -2/+2 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Move GetChannelIdxByName and clean up some more includes | Chris Robinson | 2021-04-26 | 1 | -10/+26 |
| | |||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -4/+4 |
| | |||||
* | Move helpers.cpp to core | Chris Robinson | 2021-04-22 | 1 | -1/+1 |
| | |||||
* | Move declarations to a more appropriate header | Chris Robinson | 2021-04-22 | 1 | -0/+1 |
| | |||||
* | Fill the PulseAudio buffer before uncorking playback | Chris Robinson | 2021-04-19 | 1 | -14/+14 |
| | |||||
* | Don't force application name with pulseaudio | Ilya Fedin | 2021-03-18 | 1 | -8/+1 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -3/+14 |
| | | | | | | | | | | | It will not be called while the device is running. If the first call succeeds, a subsequent call that happens to fail must leave the existing device state as it was so it can be resumed. This is a rough first pass. It will fail when trying to re-open the same device which can only be opened once (for instance, with direct hardware access, on hardware that doesn't do its own mixing). Some backends won't guarantee the new device is usable until the reset() or start() call. | ||||
* | Use a standard bitset for bitfield flags | Chris Robinson | 2021-01-22 | 1 | -3/+3 |
| | |||||
* | Use a span instead of passing a vector by reference | Chris Robinson | 2021-01-11 | 1 | -5/+5 |
| | |||||
* | Make sure proper names are used for querying PulseAudio info | Chris Robinson | 2021-01-10 | 1 | -5/+5 |
| | |||||
* | Pass nullptr to pulse for default device | Ilya Fedin | 2021-01-10 | 1 | -42/+13 |
| | |||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 1 | -1/+0 |
| | |||||
* | Avoid AL/ALC types in the backends | Chris Robinson | 2020-12-17 | 1 | -16/+16 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -14/+17 |
| | |||||
* | Don't return an enum from captureSamples | Chris Robinson | 2020-12-17 | 1 | -11/+9 |
| | | | | It's always no_error | ||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -6/+6 |
| | |||||
* | Use a predicate instead of a while loop | Chris Robinson | 2020-07-23 | 1 | -3/+3 |
| | |||||
* | Print the name of unhandled PulseAudio channels | Chris Robinson | 2020-06-15 | 1 | -1/+3 |
| | |||||
* | Remove the Lower channel labels and rename the Upper labels | Chris Robinson | 2020-06-15 | 1 | -7/+7 |
| | |||||
* | Don't bother with otherwise unused Aux channels | Chris Robinson | 2020-06-15 | 1 | -33/+37 |
| | |||||
* | Don't return a bool from the backend start method | Chris Robinson | 2020-04-28 | 1 | -6/+4 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -0/+1 |
| | |||||
* | Report better latency when PulseAudio has no timing info | Chris Robinson | 2020-03-30 | 1 | -5/+5 |
| | |||||
* | Get rid of a redundant enum | Chris Robinson | 2020-03-30 | 1 | -3/+3 |
| | |||||
* | Return the enumerated device names from the backend | Chris Robinson | 2020-03-30 | 1 | -3/+7 |
| | | | | Rather than using an out parameter. | ||||
* | Protect the call to pa_mainloop_quit with the mutex | Chris Robinson | 2020-03-29 | 1 | -1/+4 |
| | |||||
* | Make some functions private methods | Chris Robinson | 2020-03-28 | 1 | -19/+19 |
| | |||||
* | Avoid AL[C]boolean for internal use | Chris Robinson | 2020-03-28 | 1 | -2/+2 |
| | |||||
* | Make sure prebuf is filled when starting pulseaudio playback | Chris Robinson | 2020-03-27 | 1 | -1/+25 |
| | |||||
* | Use "zero-copy" writes with pulseaudio playback | Chris Robinson | 2020-03-26 | 1 | -6/+20 |
| | |||||
* | Avoid a function call to get the channel count | Chris Robinson | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | Rename a method to be clearer | Chris Robinson | 2020-03-18 | 1 | -15/+13 |
| | |||||
* | Make the pulseaudio enumeration functions class methods | Chris Robinson | 2020-03-18 | 1 | -112/+113 |
| | |||||
* | Remove a couple unused methods | Chris Robinson | 2020-03-18 | 1 | -2/+0 |
| | |||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -4/+0 |
| | |||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 1 | -1/+1 |
| | | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist. | ||||
* | Use one PulseAudio mainloop per device | Chris Robinson | 2019-10-09 | 1 | -221/+270 |
| | | | | | To help avoid devices blocking on each other when handling asynchronous messages. | ||||
* | Remove a useless prebuf check with PulseAudio | Chris Robinson | 2019-10-09 | 1 | -14/+0 |
| |