Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a helper VECTOR_FOR_EACH macro | Chris Robinson | 2014-04-30 | 1 | -16/+13 |
| | |||||
* | Use a helper method to clear winmm device lists | Chris Robinson | 2014-04-24 | 1 | -20/+15 |
| | |||||
* | Avoid using superfluous LP* types | Chris Robinson | 2014-04-23 | 1 | -10/+10 |
| | |||||
* | Use a RefCount for counting committed winmm buffers | Chris Robinson | 2014-04-23 | 1 | -7/+7 |
| | |||||
* | Use the althrd methods in winmm | Chris Robinson | 2014-04-21 | 1 | -78/+15 |
| | |||||
* | Use the stored format block align instead of calculating it | Chris Robinson | 2014-04-20 | 1 | -7/+4 |
| | |||||
* | Rename SetThreadName to althrd_setname | Chris Robinson | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | Silence an MSVC warning about -1u | Chris Robinson | 2014-04-07 | 1 | -4/+4 |
| | |||||
* | Use an al_string vector for winmm device names | Chris Robinson | 2014-04-07 | 1 | -84/+109 |
| | | | | Also now gets wchar device names, to properly convert to UTF-8 | ||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -2/+2 |
| | |||||
* | Add a macro for GCC to ensure stack alignment | Chris Robinson | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | Remove the Lock and Unlock methods from BackendFuncs | Chris Robinson | 2013-11-04 | 1 | -2/+0 |
| | | | | | All backends that still use the old interface use the default locking methods, which is also used by the ALCbackend base. | ||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 1 | -0/+1 |
| | |||||
* | Set a name for the mixer and recording threads | Chris Robinson | 2013-10-27 | 1 | -0/+2 |
| | |||||
* | Use the UNUSED macro in the backends | Chris Robinson | 2013-10-07 | 1 | -8/+2 |
| | |||||
* | Don't include alu.h in alMain.h | Chris Robinson | 2012-09-14 | 1 | -2/+1 |
| | |||||
* | Use a default method to provide a dummy latency | Chris Robinson | 2012-08-19 | 1 | -8/+1 |
| | |||||
* | Move the device lock into the backend function table | Chris Robinson | 2012-08-18 | 1 | -0/+2 |
| | | | | | For backend-specific implementations: this should hold the audio mixer loop for playback devices, and provide recursive mutex behavior. | ||||
* | Add a device method to retrieve the active latency | Chris Robinson | 2012-08-17 | 1 | -1/+9 |
| | | | | | This is effectively the time until the next update will be heard by the user, or the closest approximation thereof, in nanoseconds. | ||||
* | Rename AllDevice -> AllDevices | Chris Robinson | 2012-05-09 | 1 | -1/+1 |
| | |||||
* | Remove hungarian notation from the winmm backend | Chris Robinson | 2012-04-19 | 1 | -212/+207 |
| | |||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 1 | -47/+47 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 1 | -2/+2 |
| | |||||
* | Update the ALCdevice in winmm's reset method instead of open | Chris Robinson | 2012-03-06 | 1 | -64/+80 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 1 | -6/+16 |
| | | | | | | | | | | | | This allows us to properly update the ALCdevice and its resources with the new parameters before starting playback, instead of expecting the mixer to block and wait after it has begun. This also lets us avoid holding the device lock while resetting and starting the device, which helps prevent lock inversion on some backends (ie, one thread locking A then B, and another thread locking B then A), ultimately allowing certain backends to asynchronously update the ALCdevice without risk of lockup. Capture still has issues here, however. | ||||
* | Avoid default names for winmm and dsound | Chris Robinson | 2012-02-20 | 1 | -40/+16 |
| | |||||
* | Always use "OpenAL Soft" for the short device enumeration list | Chris Robinson | 2012-02-20 | 1 | -6/+0 |
| | |||||
* | 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 | 1 | -1/+3 |
| | |||||
* | 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 | 1 | -7/+1 |
| | |||||
* | 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 |
| | |||||
* | Define _WIN32_WINNT on the command line with _WIN32 | Chris Robinson | 2011-09-20 | 1 | -1/+0 |
| | |||||
* | Check the number of available samples before calling the capture method | Chris Robinson | 2011-09-18 | 1 | -8/+5 |
| | |||||
* | Return an error from the CaptureSamples method instead of setting it | Chris Robinson | 2011-09-14 | 1 | -5/+5 |
| | |||||
* | 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 | 1 | -11/+5 |
| | |||||
* | Return an ALC error enum from the OpenPlayback backend method | Chris Robinson | 2011-08-24 | 1 | -8/+5 |
| | |||||
* | Move backend sources to a separate sub-directory | Chris Robinson | 2011-08-20 | 1 | -0/+780 |