aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the string ID instead of numeral index to reference the ALSA cardChris Robinson2011-08-191-7/+26
| | | | The index has a habit of changing, where the ID should be more consistent.
* Add options to specify alternate ALSA device prefixesChris Robinson2011-08-191-5/+12
|
* Remove the "via *" portion of the enumerated devicesChris Robinson2011-08-191-1/+1
|
* Load backend libs on initChris Robinson2011-08-181-15/+7
|
* Allow the backend init functions to return failureChris Robinson2011-08-171-1/+2
|
* Rename the ERROR macro to ERRChris Robinson2011-07-131-35/+35
|
* Use the logging macros for the alsa backendChris Robinson2011-07-101-35/+35
|
* Remove some unneeded includesChris Robinson2011-06-141-5/+1
|
* Avoid using function pointers directly in the ALSA backendChris Robinson2011-06-141-219/+273
| | | | Also make it use the lib wrappers
* Use a proper enum for the probe typeChris Robinson2011-06-141-19/+23
|
* Make some declarations static or static constChris Robinson2011-05-211-1/+1
|
* Use channel config strings in log outputChris Robinson2011-05-151-7/+13
|
* Add a device flag for channel config requestsChris Robinson2011-05-031-0/+5
|
* Add a frequency-request device flagChris Robinson2011-05-031-1/+7
|
* Separate device format into 'channel config' and 'sample type' componentsChris Robinson2010-12-041-56/+30
|
* Calculate ALSA buffer length with the other valuesChris Robinson2010-11-231-2/+6
|
* Get rid of the device timer stuffChris Robinson2010-11-211-8/+1
|
* Don't try to open the ALSA device a second time if the first failsChris Robinson2010-09-251-10/+0
|
* Store the time precision with the deviceChris Robinson2010-07-251-2/+3
|
* Add a backend callback to get the device timeChris Robinson2010-07-241-1/+7
| | | | | The method should monotonically count the number of nanoseconds the device has active contexts
* Avoid retrying the requested ALSA format after it failedChris Robinson2010-07-041-3/+6
|
* snd_pcm_recover should automatically re-prepare the stream as neededChris Robinson2010-06-161-14/+7
|
* Remove unused variableChris Robinson2010-06-071-2/+0
|
* Use non-blocking mode for ALSA captureChris Robinson2010-06-051-6/+0
|
* Improve error recovery when capturing from ALSAChris Robinson2010-06-051-10/+31
|
* Read capture data from ALSA when querying the available sample countChris Robinson2010-06-051-74/+66
|
* Increase the temp buffer sizes to construct device names withChris Robinson2010-05-311-1/+1
|
* Update device naming to be more apparent about the device being usedChris Robinson2010-05-311-7/+4
|
* Don't unload libs when they're not neededChris Robinson2010-05-281-30/+9
| | | | | Some libs don't really like being unloaded and reloaded all the time, and the benefits aren't that great
* Add a function to get the frame size from a formatChris Robinson2010-05-241-2/+1
|
* 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
|