aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Don't accept the pulseaudio default name for captureChris Robinson2012-02-201-4/+6
|
* Use a string to report unsupported capture sample typesChris Robinson2012-02-201-1/+1
|
* Rename p -> hp for ALSA's hw paramsChris Robinson2012-02-201-36/+36
|
* Check the pulse spawn-server config option before testing a connection to ↵Chris Robinson2012-02-191-34/+34
| | | | pulseaudio
* Add a COUNTOF macro to get the number of entries in a static arrayChris Robinson2012-02-191-2/+2
|
* Minor MMDevApi cleanupsChris Robinson2012-02-181-6/+7
|
* Make sure an ALSA capture device was found before accessing the mapChris Robinson2012-02-181-1/+1
|
* Simplify ALSA parameter error checkingChris Robinson2012-02-181-108/+67
|
* Rename a couple variables and fix their typesChris Robinson2012-02-181-33/+33
|
* Fix some commentsChris Robinson2012-02-181-3/+4
|
* Use the correct type to store the count from IMMDeviceCollection_GetCountChris Robinson2012-02-171-4/+4
|
* Silence another MSVC warningChris Robinson2012-02-171-1/+1
|
* Initialize a variable before useChris Robinson2012-02-171-1/+1
|
* Support device enumeration with mmdevapiChris Robinson2012-02-161-11/+281
|
* Fix a device count leak and make sure COM is cleaned up if an mmdevice open ↵Chris Robinson2012-02-161-8/+11
| | | | fails
* Calculate the buffer time before modifying the frequencyChris Robinson2012-02-151-2/+3
|
* Get the mmdevapi device period after initializationChris Robinson2012-02-151-21/+13
|
* Move the endian test macro to alMain.hChris Robinson2012-02-151-6/+1
|
* Use a switch to check the device format with winmmChris Robinson2012-02-151-5/+28
|
* Support signed and unsigned 32-bit int outputChris Robinson2012-02-1411-3/+90
|
* Check for each ALSA prefix config option only as neededChris Robinson2012-02-131-22/+26
|
* Add config options for card- and device-specific prefixes in ALSA device namesChris Robinson2012-02-111-7/+17
|
* Format the ALSA device name when enumerating themChris Robinson2012-02-111-35/+17
|
* Improve checks for supported output formats from ALSAChris Robinson2012-02-091-19/+46
|
* Improve a couple error messages with the full ALSA device control nameChris Robinson2012-02-071-3/+3
|
* Implement capture for the DirectSound backendChris Robinson2012-01-311-61/+410
| | | | Based on a patch by Jeffrey Knockel <jeff250.at.gmail.com>
* Fix WaveIn shutdown for realChris Robinson2012-01-201-11/+8
| | | | | | The processing thread must be messaged when shutting down, and depending on the state of the device, waveInReset may not do it. Additionally, all buffers must be removed from the device before they can be unprepared and the device closed.
* Always message the WinMM processing thread when a buffer is doneChris Robinson2012-01-201-12/+2
| | | | | So the processing thread can keep track of completed buffers when shutting down, too.
* Fix a possible race condition when shutting down WinMM devicesChris Robinson2012-01-201-23/+21
| | | | | | If the processing threads are interrupted between the shutdown check and re- adding the buffer back to the device, the device can be left with a buffer that will get unprepared and freed while in use.
* Avoid printing messages about device parameter changes in the backendsChris Robinson2012-01-179-187/+38
|
* Retry opening the PortAudio device with 16-bit short if 32-bit float output ↵Chris Robinson2012-01-171-3/+9
| | | | fails
* Retry opening the DSound device with 16-bit short if 32-bit float output failsChris Robinson2012-01-171-0/+11
|
* Retry opening the WinMM device with 16-bit short if 32-bit float output failsChris Robinson2012-01-171-0/+6
|
* Support 32-bit float in the WinMM backendChris Robinson2012-01-171-4/+11
|
* Reset the ALSA device if the number of available samples grows too largeChris Robinson2011-11-281-2/+15
|
* Make ALSA XRUN when the number of available samples exceeds the buffer sizeChris Robinson2011-11-281-0/+5
|
* Initialize/Uninitialize COM as neededChris Robinson2011-10-241-2/+11
|
* Don't update the device update parameters when PulseAudio does an async ↵Chris Robinson2011-10-191-24/+18
| | | | | | | buffer update It risks a deadlock, and though the UpdateSize won't change, we'll still fill as much of the buffer as we can up to a multiple of it
* Rename the MMDevAPI backend's MessageProc functionChris Robinson2011-09-241-2/+2
|
* Define _WIN32_WINNT on the command line with _WIN32Chris Robinson2011-09-203-3/+0
|
* Add a ConfigValueStr function, to return the string through a parameterChris Robinson2011-09-191-9/+15
|
* Check the number of available samples before calling the capture methodChris Robinson2011-09-186-52/+35
|
* Return int and float config values through a parameterChris Robinson2011-09-181-4/+4
| | | | | This allows the getter functions to return whether or not the option exists without a separate call and check.
* Remove a couple ineffective alcSetError callsChris Robinson2011-09-141-6/+0
|
* Return an error from the CaptureSamples method instead of setting itChris Robinson2011-09-146-57/+57
|
* Limit the minimum ALSA capture size to 100ms, and the maximum period size to ↵Chris Robinson2011-09-131-1/+7
| | | | 50ms
* Use maxu to clamp PulseAudio's capture buffer sizeChris Robinson2011-09-131-2/+1
|
* Allow PulseAudio's tlength to grow to make sure there's at least two updatesChris Robinson2011-09-091-7/+19
|
* Free the WaveIn buffers' data after unpreparing them allChris Robinson2011-08-251-7/+4
|
* Return an ALC error enum from the OpenCapture backend methodChris Robinson2011-08-246-46/+35
|