aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fallback to non-mmap access for ALSA if mmap isn't availableChris Robinson2007-12-301-3/+114
|
* Check for the correct ALSA driver option nameChris Robinson2007-12-301-1/+1
|
* Don't check explicitly against formats, but rather their byte/channel countChris Robinson2007-12-261-7/+3
|
* Store a persistant name string with the device structChris Robinson2007-12-141-8/+5
|
* Print an error when ALSA fails to open the audio deviceChris Robinson2007-12-121-0/+2
|
* Use -Wextra instead of -W for extra warningsChris Robinson2007-12-061-1/+1
|
* Use %zd for size_t typesChris Robinson2007-12-061-1/+1
|
* Prevent some ICC warningsChris Robinson2007-12-061-2/+6
|
* Allow aluMixData to accept a NULL context for silenceChris Robinson2007-12-051-11/+3
|
* Use an AL_PRINT macro for printing lib messages/errors to the consoleChris Robinson2007-11-301-40/+39
|