aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Specify the right format for ALSA recordingChris Robinson2009-07-021-4/+3
|
* Lock the context before getting the mmap region to updateChris Robinson2009-05-261-2/+4
|
* Set the correct data sizeChris Robinson2009-05-261-1/+1
|
* Simplify ALSA PCM parameter retrievalChris Robinson2009-05-261-18/+4
|
* Set avail_min so snd_pcm_wait will wait for the full update to be readyChris Robinson2009-05-261-4/+33
|
* Properly fall back to non-mmap capture if the parameters failChris Robinson2009-05-251-5/+34
|
* Get rid of the ugly ok() macroChris Robinson2009-05-251-53/+60
|
* Update in descrete amounts using the update sizeChris Robinson2009-05-251-3/+6
|
* Don't modify the device struct until playback succesfully startsChris Robinson2009-03-131-3/+6
|
* Always add the default ALSA device even if no cards are presentChris Robinson2009-03-101-5/+3
|
* Only expose the default ALSA device in standard enumerationChris Robinson2009-03-101-22/+6
|
* Append the card and device indices to the ALSA device stringsChris Robinson2009-03-101-6/+6
|
* Add cast for setting a dummy pointer valueChris Robinson2008-12-061-1/+1
|
* Handle ALSA capture errors a bit betterChris Robinson2008-11-191-9/+35
|
* Use plughw for capture so ALSA can convert capture dataChris Robinson2008-10-141-1/+1
|
* Implement non-mmap ALSA captureChris Robinson2008-09-291-14/+167
|
* Use volatile for member variables that are changed in a different threadChris Robinson2008-07-101-1/+1
|
* Prepare the ALSA PCM handle before starting captureChris Robinson2008-05-061-0/+1
| | | | Thanks to Jason Daly for pointing it out
* Fill the correct capture device listChris Robinson2008-04-051-3/+4
|
* Add the first card after making sure there's a useable device on itChris Robinson2008-02-151-5/+10
|
* Remove FrameSize struct memberChris Robinson2008-02-141-1/+1
|
* Wait for a PCM handle to be ready for more data instead of polling every 1ms ↵Chris Robinson2008-02-131-1/+4
| | | | or so
* Rename UpdateFreq device field to UpdateSizeChris Robinson2008-02-121-3/+3
|
* Use all capture devices listed by ALSA, not just the first on each cardChris Robinson2008-02-081-12/+35
|
* Remove unnecessary Channels fieldChris Robinson2008-01-251-2/+2
|
* Remove duplication of setting the max source countChris Robinson2008-01-191-1/+0
|
* Buffer size fixes. Partially reverts the ALSA buffer size "fix"Chris Robinson2008-01-181-9/+15
|
* Reduce indentationChris Robinson2008-01-141-6/+4
|
* Add an option for disabling ALSA mmapChris Robinson2008-01-141-1/+9
|
* Avoid busy waiting when waiting for suspend to clearChris Robinson2008-01-141-3/+2
|
* Let the mmap thread start the pcm stream when it's fullChris Robinson2008-01-141-52/+0
| | | | Instead of filling it with silence and starting it before the thread is active
* Make sure the stream is playing when it's fullChris Robinson2008-01-141-0/+13
|
* Don't restart the stream right after preparing itChris Robinson2008-01-141-4/+0
| | | | It needs to be filled, first
* Don't attempt to recover the ALSA stream when filling silenceChris Robinson2008-01-141-13/+4
| | | | Since it was just prepared, any error would likely mean bigger problems
* Use Sleep instead of usleepChris Robinson2008-01-111-4/+4
|
* Don't double-close a handle on errorChris Robinson2008-01-111-1/+0
|
* Don't attempt to open ALSA playback/capture if it didn't loadChris Robinson2008-01-111-1/+7
|
* ALC_REFRESH is the number of updates per secondChris Robinson2008-01-061-1/+1
|
* Fix the buffer size so ALSA doesn't multiply by the number of periodsChris Robinson2008-01-061-4/+6
|
* Some non-mmap ALSA fixesChris Robinson2008-01-051-40/+21
|