aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Don't log the function or prefixChris Robinson2019-06-0416-29/+0
| | | | | | It's ultimately unnecessary since the message is an indicator about where it was logged from. The message itself is generally more important than where it was from, too.
* Get rid of the COUNTOF macroChris Robinson2019-05-261-12/+9
|
* Use SL_ANDROID_DATAFORMAT_PCM_EX for extended PCM infoChris Robinson2019-05-261-11/+11
|
* Don't change the format tag in MakeExtensibleChris Robinson2019-05-211-8/+10
|
* Fix a couple type truncation warnings with MSVCChris Robinson2019-05-121-1/+1
|
* Set the device channel order from PulseAudio's channel mapChris Robinson2019-05-041-1/+70
|
* Fix when PulseAudio channel configuration changesChris Robinson2019-05-041-52/+49
|
* Avoid unnecessary parsing for channel mapsChris Robinson2019-05-041-54/+61
|
* Use exceptions when opening and reseting the PulseAudio backendChris Robinson2019-05-041-117/+82
|
* Be more robust with PulseAudio captureChris Robinson2019-04-271-12/+15
| | | | | | | Particularly, handle "holes" in the record stream and premature end-of-buffer. Also don't bail out when capturing while disconnected (the extension says it should provide anything it previously reported available, going to silence for anything no longer readable).
* Add missing function pointersChris Robinson2019-04-271-154/+107
|
* Remove some ancient PulseAudio KDE/Phonon/Qt hacksChris Robinson2019-04-271-17/+5
| | | | | | | | | | Unfortuantely, the relevant KDE bug still seems to exist (streams are forced to KDE's default device after opening, even when they're created with a specific device at user request). I do not know why KDE thinks this is in any way good behavior (the user doesn't get their desired device, nor does the stream get the appropriate format for the device its ultimately put on), but making streams non-movable as a workaround has been a thorn in the side of non-KDE users for too long. C'mon KDE, it's been nearly (if not more than) 7 years now.
* Remove unused pa_threaded* functionsChris Robinson2019-04-271-83/+0
|
* Use a custom PulseAudio mainloopChris Robinson2019-04-271-235/+199
| | | | | This allows using RT priority again with the mixer. It also consolidates all mainloop instances into one.
* Don't round WASAPI updates to the update sizeChris Robinson2019-04-271-1/+0
|
* Scale the update size with sample rate changesChris Robinson2019-04-262-15/+15
|
* Set the ALSA period size firstChris Robinson2019-04-261-4/+4
|
* Specify the buffer size as itself instead of the period countChris Robinson2019-04-2615-131/+105
| | | | | | | Certain backends don't need a buffer size to be a strict multiple of the period count, which allows a little more flexibility. The period/update size simply acts as the minimum request, which helps control CPU load by determining how often parameter and other pre-mixing updates are processed.
* Don't round the PulseAudio write size to the period multipleChris Robinson2019-04-171-4/+0
|
* Fix PulseAudio backend initializationChris Robinson2019-04-161-1/+1
|
* Remove the backend factory deinit methodChris Robinson2019-04-1428-374/+239
| | | | | | It was never actually called anywhere, and there's no safe place where it can be called. It's probably better to let the individual backends worry about cleaning themselves up anyway.
* Use a custom message queue for the WASAPI backendChris Robinson2019-04-141-263/+160
|
* Set the EARLY_REQUESTS flag for PulseAudio when possibleChris Robinson2019-03-261-5/+16
|
* Remove a couple unnecessary duration_castsChris Robinson2019-03-261-2/+1
|
* Move an enum to a more appropriate headerChris Robinson2019-03-261-0/+5
|
* Make sure the file is rewound before writing the wave headerChris Robinson2019-03-191-6/+8
|
* Add some enum casts for the WASAPI backendChris Robinson2019-03-191-5/+5
|
* Rename DevProbe enum namesChris Robinson2019-03-1916-35/+35
|
* Avoid using internal AL[u]int64 typesChris Robinson2019-02-115-10/+10
|
* Handle a missing default WASAPI device IDChris Robinson2019-01-181-3/+3
|
* Use `= default` to define trivial dtor/ctorFilip Gawin2019-01-091-2/+1
|
* Remove redundant void argument list in function defFilip Gawin2019-01-094-6/+6
|
* Use c++ headersFilip Gawin2019-01-098-18/+18
|
* Avoid using old style castsFilip Gawin2019-01-083-12/+12
| | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295
* Use user-defined literals for 64-bit literalsChris Robinson2019-01-071-1/+1
|
* Make sure the OpenSL capture buffer queue has the correct sizeChris Robinson2019-01-031-68/+71
| | | | | | | The ring buffer size may round up and have more queueable elements than OpenSL was allocated with, leading to errors when queueing those extra elements. Now OpenSL allocates the same number of elements that can be written to the ring buffer.
* Use standard unique_lock and lock_guard for the backend lockChris Robinson2019-01-011-2/+4
|
* Use an atomic bool on things that only take true or falseChris Robinson2018-12-308-33/+33
|
* Rename BackendLock to StateLockChris Robinson2018-12-308-36/+1
|
* Don't make the backend's lock/unlock methods noexceptChris Robinson2018-12-294-20/+14
|
* Get rid of ALCdevice_Lock/UnlockChris Robinson2018-12-292-9/+0
|
* Use member functions for the sample and channel convertersChris Robinson2018-12-292-9/+8
|
* Add missing includes for mem_fnChris Robinson2018-12-2911-0/+11
|
* Don't bother with an explicit Loopback backend typeChris Robinson2018-12-292-10/+5
|
* Return a unique_ptr for the backendChris Robinson2018-12-2936-65/+66
|
* Make the backend type an enum classChris Robinson2018-12-2935-133/+127
|
* Get CoreAudio capture samples in one callChris Robinson2018-12-281-22/+21
|
* Convert the backends to use proper inheritenceChris Robinson2018-12-2836-2733/+1870
|
* Use static_cast instead of reinterpret_cast where possibleChris Robinson2018-12-283-20/+20
|
* Finish turning ancillary backend methods into member functionsChris Robinson2018-12-282-305/+301
|