aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.c
Commit message (Collapse)AuthorAgeFilesLines
* Pass the device name list to the backend probe methodChris Robinson2018-09-071-8/+9
|
* Always prepare the ALSA PCM handle before starting captureChris Robinson2018-06-081-2/+9
| | | | | | Draining the ALSA device via stopping puts it into a setup state, which requires re-preparing before playback can start again. Preparing it prior to the first start seems to cause no harm, so just always do it before starting.
* Clear ALSA's PCM handle after closing itChris Robinson2018-04-191-0/+1
|
* Ensure at least the specified ringbuffer size is writableChris Robinson2018-03-021-1/+1
| | | | | | Previously, all but one of the specified size could be written (so for a size of n, only n-1 was guaranteed writable). All users pretty much compensated for this, but it makes more sense to fix it at the source.
* Add an option to limit the write size of the ringbufferChris Robinson2018-03-011-1/+2
|
* Make the Connected state atomicChris Robinson2018-02-041-9/+9
| | | | Also don't send the Disconnected event more than once.
* Provide more descriptive messages to disconnection eventsChris Robinson2018-02-031-6/+7
|
* Don't bother with an explicit stop backend methodChris Robinson2018-01-291-22/+20
|
* Call the backend close method in the destructorChris Robinson2018-01-281-2/+18
|
* Move the ringbuffer declarations to a separate headerChris Robinson2018-01-111-0/+1
| | | | And rename alcRing.c to ringbuffer.c for consistency.
* Move the config function declarations to their own headerChris Robinson2018-01-111-0/+1
| | | | And rename alcConfig.c to alconfig.c for consistency.
* Add a config option to specify custom ALSA devicesChris Robinson2017-05-231-5/+40
|
* Store the ambisonic order separate from the channel enumChris Robinson2017-04-121-5/+6
|
* Rename al_string_* functions to alstr_*Chris Robinson2017-04-041-17/+17
|
* Print warnings about missing libraries and functionsChris Robinson2017-02-211-1/+8
|
* 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-8/+22
| | | | | | 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-11/+8
|
* Use al_malloc/al_free for allocationsChris Robinson2016-04-051-9/+7
|
* Also disable ALSA's resampler when not requesting a sample rateChris Robinson2016-04-051-1/+4
|
* Convert remaining ringbuffers to the lockless variantChris Robinson2016-03-291-19/+16
|
* Fix when ESTRPIPE and EPIPE are the sameChris Robinson2016-02-221-0/+2
|
* Better handle inexact ALSA period countsChris Robinson2015-11-231-1/+4
|
* Fix the allow-resampler check for ALSAChris Robinson2015-11-231-1/+1
|
* Add options to disable Pulse's and ALSA's resamplersChris Robinson2015-11-071-2/+5
|
* Allow for device-specific config valuesChris Robinson2015-08-281-7/+7
|
* Add a macro to simplify allocating and constructing an objectChris Robinson2015-05-181-12/+2
|
* 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-24/+12
|
* Don't require pre-declaring vector typesChris Robinson2014-07-061-1/+1
|
* Initialize some variables when declaring themChris Robinson2014-05-151-4/+2
|
* Don't try to read the internal capture buffer into itselfChris Robinson2014-05-141-6/+9
|
* Avoid freeing an in-use capture bufferChris Robinson2014-05-141-5/+3
| | | | | When stopping, ALSA may capture into its own storage buffer. Do not free the storage buffer if it first reads from it.
* Add a helper VECTOR_FOR_EACH macroChris Robinson2014-04-301-10/+7
|
* More device list cleanup cleanupChris Robinson2014-04-241-4/+2
|
* Avoid forward-declaring backend vtablesChris Robinson2014-04-231-7/+6
|
* Use a vector to store the ALSA device listsChris Robinson2014-04-211-96/+82
|
* Use al_string for ALSA's device mapChris Robinson2014-04-211-21/+26
|
* Trace the device name being opened in ALSA and PulseAudioChris Robinson2014-04-211-0/+2
|
* Rename SetThreadName to althrd_setnameChris Robinson2014-04-171-2/+2
|
* Remove the old thread wrappers for the new onesChris Robinson2014-04-161-14/+16
|
* Use an al_string for the device nameChris Robinson2014-03-281-2/+2
|
* Use a void* for the backend Delete method paramChris Robinson2014-03-221-13/+6
|
* Use a macro to help condense some repeated codeChris Robinson2013-11-241-148/+89
|
* Make backend factory methods static as neededChris Robinson2013-11-021-5/+5
|
* Add default handlers for reset, captureSamples, and availableSamplesChris Robinson2013-10-291-18/+5
|
* Add a macro to forward methods to a base typeChris Robinson2013-10-291-39/+23
|
* Fix capture with the new backend interfaceChris Robinson2013-10-281-7/+24
|
* Convert ALSA to the new backend interfaceChris Robinson2013-10-281-273/+386
|
* Move the device mutex to the backendChris Robinson2013-10-281-0/+1
|