Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |