aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't needlessly expose a variable for the backendsChris Robinson2010-05-121-3/+3
|
* Build device lists only when neededChris Robinson2010-03-091-6/+20
|
* Probe physical devices separately from appending them to the device listChris Robinson2010-03-091-134/+94
|
* Set ALSA playback buffer and period size based on timeChris Robinson2010-02-081-9/+13
| | | | So rate adjustments won't modify the latency
* Always disable ALSA's resampler for playbackChris Robinson2010-02-081-2/+1
| | | | | This means the frequency config option won't have an effect if the ALSA device can't set an alternate sampling rate
* Disable ALSA's resampler when no specific output rate is requestedChris Robinson2010-02-051-0/+8
|
* Specify the buffer size to ALSA, so the period count remains flexibleChris Robinson2010-01-201-3/+5
| | | | | | | | Under conditions where the period size is fixed (such as dmix), ALSA will still attempt to provide the requested number of periods even if the requested period size needs to be dramatically altered. In these cases, it would be better to increase or decrease the period count, instead of growing or shrinking the total buffer size and significantly changing the latency.
* Prepare the pcm handle after recoveringChris Robinson2010-01-061-0/+6
|
* Use snd_pcm_recover in more placesChris Robinson2010-01-061-6/+4
|
* Use snd_pcm_recover to recover from certain device errorsChris Robinson2010-01-061-15/+6
|
* Store ALC errors with the device when possibleChris Robinson2009-12-281-1/+1
|
* Clean up some loading checksChris Robinson2009-12-261-9/+9
|
* Fix incorrect error checkChris Robinson2009-12-251-1/+1
|
* Check error returns instead of error stringChris Robinson2009-12-251-21/+21
|
* Use a channel-map to specify the output device channel orderChris Robinson2009-12-021-0/+2
|
* Add an option for real-time priority mixingChris Robinson2009-12-011-3/+3
| | | | Default to disable for now, as a safety precaution
* Enable real-time priority for ALSA, OSS, and DirectSound mixing loopsChris Robinson2009-11-291-4/+12
|
* Reset the kill flag after the thread has stoppedChris Robinson2009-11-291-0/+1
|
* Try 32-bit float before 16-bit, and stereo before monoChris Robinson2009-10-241-20/+41
|
* Make sure the ALSA device list is reset if no cards are foundChris Robinson2009-10-211-11/+4
|
* Remove duplicate check in ALSA mmap playbackChris Robinson2009-10-161-1/+1
|
* Rename SetALCError for consistencyChris Robinson2009-10-071-1/+1
|
* Fallback to 16-bit or 8-bit, or mono, if ALSA doesn't accept the requestChris Robinson2009-09-271-2/+35
|
* Don't store the ALSA formatChris Robinson2009-09-271-9/+10
|
* Fix capture, tooChris Robinson2009-09-271-3/+3
|
* Make sure ALSA properly loads, and fix the thread stop conditionChris Robinson2009-09-271-4/+4
|
* Avoid duplicate error handlingChris Robinson2009-09-271-45/+25
|
* Load backend libs on-demandChris Robinson2009-09-271-96/+128
|
* Attempt to reload backend libs when probing, if they didn't initially loadChris Robinson2009-09-231-4/+4
|
* Return imediately if trying to set an unknown formatChris Robinson2009-09-211-4/+6
|
* Support floating point capture for backends that can handle itChris Robinson2009-09-211-0/+3
|
* Create the ALSA capture ring buffer with the proper sizeChris Robinson2009-09-211-1/+1
|
* Mix all pending periods at once instead of one at a timeChris Robinson2009-09-201-1/+1
|
* Let verify_state restore from an ALSA underrunChris Robinson2009-09-201-19/+8
|
* Remove left-over backend-specific period optionsChris Robinson2009-09-161-2/+2
|
* Store the number of periods in the device instead of the buffer sizeChris Robinson2009-09-161-17/+25
| | | | Also keep all the fields in sync
* Remove unnecessary parameters, and rename methodsChris Robinson2009-09-161-6/+4
|
* Make a GetConfigValueBool function and use itChris Robinson2009-09-151-7/+1
|
* Pass the device to aluMixDataChris Robinson2009-09-151-9/+3
|
* Pass the frame count to aluMixDataChris Robinson2009-09-151-5/+3
|
* Remove unnecessary vars and rework device name checksChris Robinson2009-08-271-10/+8
|
* Rebuild device lists when retrieving themChris Robinson2009-08-271-122/+147
|
* Store a copy of the device name in the deviceChris Robinson2009-08-271-8/+7
|
* Store copies of the device names in the individual backendsChris Robinson2009-08-271-28/+69
|
* Add a method to deinitialize backendsChris Robinson2009-08-261-0/+4
|
* Support disconnect for ALSA playback and captureChris Robinson2009-08-261-234/+86
| | | | | As a consequence for capture, mmap is no longer supported. Later on, supporting mmap capture to write directly into the ring buffer is a possibility.
* Support 32-bit float outputChris Robinson2009-08-151-0/+3
|
* Remove unnecessary function parametersChris Robinson2009-08-131-7/+7
|
* Allow delaying playback start until context creation, and don't use ↵Chris Robinson2009-08-131-26/+42
| | | | | | | UpdateSize to store the buffer size This will make it possible to support the context attributes (frequency, refresh, etc) for some backends
* Set the right access mode for non-mmap captureChris Robinson2009-07-021-1/+1
|