aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Hold Pulse's mainloop lock while calling capture functionsChris Robinson2017-01-101-2/+10
| | | | | | | Since commit c837484015e, the backend's lock is no longer implicitly held when calling capture functions. A separate mutex is used to ensure serial access, and its up to the backend to protect against races and reentrancy with the audio API.
* Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1Chris Robinson2016-07-311-1/+0
|
* Add a config to output first-, second-, or third-order ambisonicsChris Robinson2016-07-291-0/+3
| | | | | | | | | Currently incomplete, as second- and third-order output will not correctly handle B-Format input buffers. A standalone up-sampler will be needed, similar to the high-quality decoder. Also, output is ACN ordering with SN3D normalization. A config option will eventually be provided to change this if desired.
* Combine VECTOR_RESIZE and VECTOR_RESERVEChris Robinson2016-07-261-1/+1
|
* Change the backend getLatency method to return the clock time tooChris Robinson2016-05-281-13/+25
| | | | | | This will also allow backends to better synchronize the tracked clock time with the device output latency, without necessarily needing to lock if the backend API can allow for it.
* Shorten VECTOR_ITER_ macros to VECTOR_Chris Robinson2016-04-151-6/+6
|
* Add a hack to workaround erroneous prebuf values from pulseChris Robinson2016-03-311-5/+28
|
* Add options to disable Pulse's and ALSA's resamplersChris Robinson2015-11-071-1/+2
|
* Specify the pa_channel_map directly instead of through a stringChris Robinson2015-09-041-30/+43
|
* Use the correct device name for PulseAudio tooChris Robinson2015-09-031-10/+24
| | | | | Like mmdevapi. duplicate device names will have a '#2' or such appended, so the device's reported name may be incorrect.
* Allow for device-specific config valuesChris Robinson2015-08-281-4/+4
|
* Fix handling of PulseAudio devices that have the same descriptionChris Robinson2015-08-141-10/+44
|
* Add a macro to simplify allocating and constructing an objectChris Robinson2015-05-181-12/+2
|
* Ensure PulseAudio's mixing loop is signaled when stoppingChris Robinson2015-01-211-0/+8
|
* Set a couple pulse callbacks to NULL during reset, and minor cleanupsChris Robinson2014-12-171-9/+9
|
* Don't kill pulseaudio's mixer thread if it's already killedChris Robinson2014-12-171-1/+1
|
* Support B-Format output with the wave file writerChris Robinson2014-11-251-0/+3
|
* Require at least pulse client 0.9.16Chris Robinson2014-11-241-48/+8
|
* Trace PulseAudio's active portChris Robinson2014-11-241-2/+5
|
* Set headphones when pulse reports using the headphones portChris Robinson2014-11-231-0/+3
|
* Don't force UpdateSize to a multiple of 4 after buffer metrics were setChris Robinson2014-11-171-2/+0
|
* Always get the pulseaudio sink info on device resetChris Robinson2014-11-171-16/+14
|
* Fix 5.1 surround soundChris Robinson2014-11-071-6/+6
| | | | | | | | | | | | | Apparently, 5.1 surround sound is supposed to use the "side" channels, not the back channels, and we've been wrong this whole time. That means the "5.1 Side" is actually the correct 5.1 setup, and using the back channels is anomalous. Additionally, this means the 5.1 buffer format should also use the the side channels instead of the back channels. A final note: the 5.1 mixing coefficients are changed so both use the original 5.1 surround sound set (with the surround channels at +/-110 degrees). So the only difference now between 5.1 "side" and 5.1 "back" is the channel labels.
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Use VECTOR_FIND_IF and VECTOR_FOR_EACH instead of manual loopsChris Robinson2014-08-091-49/+27
|
* Use pulseaudio's write callback to signal a mixer proc wakeupChris Robinson2014-07-261-3/+11
|
* Don't require pre-declaring vector typesChris Robinson2014-07-061-1/+1
|
* Don't print an ERR if pulse fails to get latency info due to no dataChris Robinson2014-05-261-3/+8
| | | | It just means it was called too quickly after starting.
* Initialize a pointer to NULL instead of a stringChris Robinson2014-05-151-2/+1
|
* Add a helper VECTOR_FOR_EACH macroChris Robinson2014-04-301-10/+7
|
* Use a helper function to clear PulseAudio device listsChris Robinson2014-04-241-36/+20
|
* Avoid forward-declaring backend vtablesChris Robinson2014-04-231-28/+35
|
* Trace the device name being opened in ALSA and PulseAudioChris Robinson2014-04-211-0/+2
|
* Use a vector for the PulseAudio DevMapsChris Robinson2014-04-201-76/+82
|
* Use an al_string in the PulseAudio backend instead of char*Chris Robinson2014-04-201-44/+63
|
* Rename SetThreadName to althrd_setnameChris Robinson2014-04-171-1/+1
|
* Avoid using a Sleep() wrapperChris Robinson2014-04-161-1/+1
|
* Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudioChris Robinson2014-04-161-10/+7
|
* Use an al_string for the device nameChris Robinson2014-03-281-4/+2
|
* Use a void* for the backend Delete method paramChris Robinson2014-03-221-14/+6
|
* Move PATH_MAX fallback definitions to alMain.hChris Robinson2014-02-271-3/+0
|
* Make backend factory methods static as neededChris Robinson2013-11-021-10/+10
|
* Move a macro definition up nearer to where it's usedChris Robinson2013-10-291-4/+4
|
* Add default handlers for reset, captureSamples, and availableSamplesChris Robinson2013-10-291-19/+3
|
* Convert the PulseAudio backend to the new interfaceChris Robinson2013-10-291-623/+863
|
* Move the device mutex to the backendChris Robinson2013-10-281-0/+1
|
* Rework threading functionsChris Robinson2013-10-271-5/+5
|
* Set a name for the mixer and recording threadsChris Robinson2013-10-271-0/+1
|
* Use the UNUSED macro in the backendsChris Robinson2013-10-071-21/+11
|
* Use a simpler U64 macro to make 64-bit constantsChris Robinson2013-10-061-1/+1
|