Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Allow PulseAudio's tlength to grow to make sure there's at least two updates | Chris Robinson | 2011-09-09 | 1 | -7/+19 |
| | |||||
* | Free the WaveIn buffers' data after unpreparing them all | Chris Robinson | 2011-08-25 | 1 | -7/+4 |
| | |||||
* | Return an ALC error enum from the OpenCapture backend method | Chris Robinson | 2011-08-24 | 6 | -46/+35 |
| | |||||
* | Return an ALC error enum from the OpenPlayback backend method | Chris Robinson | 2011-08-24 | 14 | -73/+61 |
| | |||||
* | Don't enumerate "PulseAudio Default" in the ALL_DEVICES list | Chris Robinson | 2011-08-20 | 1 | -18/+6 |
| | |||||
* | Don't expose "DirectSound Default" in the ALL_DEVICES list | Chris Robinson | 2011-08-20 | 1 | -14/+1 |
| | | | | | This is under the assumption that one of the devices in ALL_DEVICES corresponds to the default. This is not true for all backends (eg, ALSA). | ||||
* | Move backend sources to a separate sub-directory | Chris Robinson | 2011-08-20 | 14 | -0/+8138 |