aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/pulseaudio.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow calling BackendBase::open multiple times on playback devicesChris Robinson2021-03-081-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 flagsChris Robinson2021-01-221-3/+3
|
* Use a span instead of passing a vector by referenceChris Robinson2021-01-111-5/+5
|
* Make sure proper names are used for querying PulseAudio infoChris Robinson2021-01-101-5/+5
|
* Pass nullptr to pulse for default deviceIlya Fedin2021-01-101-42/+13
|
* Move alexcpt to coreChris Robinson2020-12-241-1/+0
|
* Avoid AL/ALC types in the backendsChris Robinson2020-12-171-16/+16
|
* Don't use ALC error enums for the backend error codeChris Robinson2020-12-171-14/+17
|
* Don't return an enum from captureSamplesChris Robinson2020-12-171-11/+9
| | | | It's always no_error
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Change a couple functions into member functionsChris Robinson2020-08-071-6/+6
|
* Use a predicate instead of a while loopChris Robinson2020-07-231-3/+3
|
* Print the name of unhandled PulseAudio channelsChris Robinson2020-06-151-1/+3
|
* Remove the Lower channel labels and rename the Upper labelsChris Robinson2020-06-151-7/+7
|
* Don't bother with otherwise unused Aux channelsChris Robinson2020-06-151-33/+37
|
* Don't return a bool from the backend start methodChris Robinson2020-04-281-6/+4
|
* Use standard attribute declarationsChris Robinson2020-04-131-0/+1
|
* Report better latency when PulseAudio has no timing infoChris Robinson2020-03-301-5/+5
|
* Get rid of a redundant enumChris Robinson2020-03-301-3/+3
|
* Return the enumerated device names from the backendChris Robinson2020-03-301-3/+7
| | | | Rather than using an out parameter.
* Protect the call to pa_mainloop_quit with the mutexChris Robinson2020-03-291-1/+4
|
* Make some functions private methodsChris Robinson2020-03-281-19/+19
|
* Avoid AL[C]boolean for internal useChris Robinson2020-03-281-2/+2
|
* Make sure prebuf is filled when starting pulseaudio playbackChris Robinson2020-03-271-1/+25
|
* Use "zero-copy" writes with pulseaudio playbackChris Robinson2020-03-261-6/+20
|
* Avoid a function call to get the channel countChris Robinson2020-03-181-1/+1
|
* Rename a method to be clearerChris Robinson2020-03-181-15/+13
|
* Make the pulseaudio enumeration functions class methodsChris Robinson2020-03-181-112/+113
|
* Remove a couple unused methodsChris Robinson2020-03-181-2/+0
|
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-261-4/+0
|
* Handle padding between device sample framesChris Robinson2019-12-211-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 deviceChris Robinson2019-10-091-221/+270
| | | | | To help avoid devices blocking on each other when handling asynchronous messages.
* Remove a useless prebuf check with PulseAudioChris Robinson2019-10-091-14/+0
|
* Create the initial PulseAudio stream corkedChris Robinson2019-10-091-1/+2
|
* Don't track the PulseAudio context state in devicesChris Robinson2019-10-091-30/+0
|
* Make C callbacks noexceptChris Robinson2019-10-091-39/+39
| | | | | No telling what would happen if exceptions managed to get back into presumably C-based callers.
* Clean up some exception messages and avoid duplicate log messagesChris Robinson2019-10-081-1/+1
|
* Define some simple wrapper methods inlineChris Robinson2019-10-081-63/+30
|
* Reduce some indentationChris Robinson2019-10-071-32/+36
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-50/+46
|
* Clean up some more shadowing warningsChris Robinson2019-09-161-8/+6
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-12/+12
|
* Enable and fix more warningsChris Robinson2019-09-141-1/+1
|
* Don't hold the pulse lock while not necessaryChris Robinson2019-09-141-1/+2
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-141-1/+1
|
* Clean up (most) implicit conversions in the backendsChris Robinson2019-09-141-23/+24
|
* Use unsigned channel indicesChris Robinson2019-09-121-2/+2
|
* Add methods to get env vars as an optionalChris Robinson2019-08-121-2/+3
|
* Move the dynload decls and defs to commonChris Robinson2019-08-101-1/+2
|
* Modify LIKELY and UNLIKELY to not need extra parenthesisChris Robinson2019-08-041-11/+11
|