aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/loopback.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't include alu.h in alMain.hChris Robinson2012-09-141-2/+2
|
* Use a default method to provide a dummy latencyChris Robinson2012-08-191-8/+1
|
* Move the device lock into the backend function tableChris Robinson2012-08-181-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 latencyChris Robinson2012-08-171-1/+10
| | | | | This is effectively the time until the next update will be heard by the user, or the closest approximation thereof, in nanoseconds.
* Remove hungarian notation from the device and context structsChris Robinson2012-04-191-1/+1
|
* Use a separate backend callback to start playback of the deviceChris Robinson2012-03-051-0/+7
| | | | | | | | | | | | 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.
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-241-2/+2
|
* Move backend sources to a separate sub-directoryChris Robinson2011-08-201-0/+77