Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using a default name when opening a PulseAudio device | Chris Robinson | 2012-02-20 | 1 | -4/+6 |
| | |||||
* | Set the default ALSA device name when probing | Chris Robinson | 2012-02-20 | 1 | -23/+20 |
| | |||||
* | Always use "OpenAL Soft" for the short device enumeration list | Chris Robinson | 2012-02-20 | 13 | -72/+0 |
| | |||||
* | Don't accept the pulseaudio default name for capture | Chris Robinson | 2012-02-20 | 1 | -4/+6 |
| | |||||
* | Use a string to report unsupported capture sample types | Chris Robinson | 2012-02-20 | 1 | -1/+1 |
| | |||||
* | Rename p -> hp for ALSA's hw params | Chris Robinson | 2012-02-20 | 1 | -36/+36 |
| | |||||
* | Check the pulse spawn-server config option before testing a connection to ↵ | Chris Robinson | 2012-02-19 | 1 | -34/+34 |
| | | | | pulseaudio | ||||
* | Add a COUNTOF macro to get the number of entries in a static array | Chris Robinson | 2012-02-19 | 1 | -2/+2 |
| | |||||
* | Minor MMDevApi cleanups | Chris Robinson | 2012-02-18 | 1 | -6/+7 |
| | |||||
* | Make sure an ALSA capture device was found before accessing the map | Chris Robinson | 2012-02-18 | 1 | -1/+1 |
| | |||||
* | Simplify ALSA parameter error checking | Chris Robinson | 2012-02-18 | 1 | -108/+67 |
| | |||||
* | Rename a couple variables and fix their types | Chris Robinson | 2012-02-18 | 1 | -33/+33 |
| | |||||
* | Fix some comments | Chris Robinson | 2012-02-18 | 1 | -3/+4 |
| | |||||
* | Use the correct type to store the count from IMMDeviceCollection_GetCount | Chris Robinson | 2012-02-17 | 1 | -4/+4 |
| | |||||
* | Silence another MSVC warning | Chris Robinson | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Initialize a variable before use | Chris Robinson | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Support device enumeration with mmdevapi | Chris Robinson | 2012-02-16 | 1 | -11/+281 |
| | |||||
* | Fix a device count leak and make sure COM is cleaned up if an mmdevice open ↵ | Chris Robinson | 2012-02-16 | 1 | -8/+11 |
| | | | | fails | ||||
* | Calculate the buffer time before modifying the frequency | Chris Robinson | 2012-02-15 | 1 | -2/+3 |
| | |||||
* | Get the mmdevapi device period after initialization | Chris Robinson | 2012-02-15 | 1 | -21/+13 |
| | |||||
* | Move the endian test macro to alMain.h | Chris Robinson | 2012-02-15 | 1 | -6/+1 |
| | |||||
* | Use a switch to check the device format with winmm | Chris Robinson | 2012-02-15 | 1 | -5/+28 |
| | |||||
* | Support signed and unsigned 32-bit int output | Chris Robinson | 2012-02-14 | 11 | -3/+90 |
| | |||||
* | Check for each ALSA prefix config option only as needed | Chris Robinson | 2012-02-13 | 1 | -22/+26 |
| | |||||
* | Add config options for card- and device-specific prefixes in ALSA device names | Chris Robinson | 2012-02-11 | 1 | -7/+17 |
| | |||||
* | Format the ALSA device name when enumerating them | Chris Robinson | 2012-02-11 | 1 | -35/+17 |
| | |||||
* | Improve checks for supported output formats from ALSA | Chris Robinson | 2012-02-09 | 1 | -19/+46 |
| | |||||
* | Improve a couple error messages with the full ALSA device control name | Chris Robinson | 2012-02-07 | 1 | -3/+3 |
| | |||||
* | Implement capture for the DirectSound backend | Chris Robinson | 2012-01-31 | 1 | -61/+410 |
| | | | | Based on a patch by Jeffrey Knockel <jeff250.at.gmail.com> | ||||
* | Fix WaveIn shutdown for real | Chris Robinson | 2012-01-20 | 1 | -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 done | Chris Robinson | 2012-01-20 | 1 | -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 devices | Chris Robinson | 2012-01-20 | 1 | -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 backends | Chris Robinson | 2012-01-17 | 9 | -187/+38 |
| | |||||
* | Retry opening the PortAudio device with 16-bit short if 32-bit float output ↵ | Chris Robinson | 2012-01-17 | 1 | -3/+9 |
| | | | | fails | ||||
* | Retry opening the DSound device with 16-bit short if 32-bit float output fails | Chris Robinson | 2012-01-17 | 1 | -0/+11 |
| | |||||
* | Retry opening the WinMM device with 16-bit short if 32-bit float output fails | Chris Robinson | 2012-01-17 | 1 | -0/+6 |
| | |||||
* | Support 32-bit float in the WinMM backend | Chris Robinson | 2012-01-17 | 1 | -4/+11 |
| | |||||
* | Reset the ALSA device if the number of available samples grows too large | Chris Robinson | 2011-11-28 | 1 | -2/+15 |
| | |||||
* | Make ALSA XRUN when the number of available samples exceeds the buffer size | Chris Robinson | 2011-11-28 | 1 | -0/+5 |
| | |||||
* | Initialize/Uninitialize COM as needed | Chris Robinson | 2011-10-24 | 1 | -2/+11 |
| | |||||
* | Don't update the device update parameters when PulseAudio does an async ↵ | Chris Robinson | 2011-10-19 | 1 | -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 function | Chris Robinson | 2011-09-24 | 1 | -2/+2 |
| | |||||
* | Define _WIN32_WINNT on the command line with _WIN32 | Chris Robinson | 2011-09-20 | 3 | -3/+0 |
| | |||||
* | Add a ConfigValueStr function, to return the string through a parameter | Chris Robinson | 2011-09-19 | 1 | -9/+15 |
| | |||||
* | Check the number of available samples before calling the capture method | Chris Robinson | 2011-09-18 | 6 | -52/+35 |
| | |||||
* | Return int and float config values through a parameter | Chris Robinson | 2011-09-18 | 1 | -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 calls | Chris Robinson | 2011-09-14 | 1 | -6/+0 |
| | |||||
* | Return an error from the CaptureSamples method instead of setting it | Chris Robinson | 2011-09-14 | 6 | -57/+57 |
| | |||||
* | Limit the minimum ALSA capture size to 100ms, and the maximum period size to ↵ | Chris Robinson | 2011-09-13 | 1 | -1/+7 |
| | | | | 50ms | ||||
* | Use maxu to clamp PulseAudio's capture buffer size | Chris Robinson | 2011-09-13 | 1 | -2/+1 |
| |