aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.c
Commit message (Collapse)AuthorAgeFilesLines
* Move the device mutex to the backendChris Robinson2013-10-281-0/+1
|
* Separate compatibility declarationsChris Robinson2013-10-281-0/+1
|
* Rework threading functionsChris Robinson2013-10-271-3/+3
|
* Set a name for the mixer and recording threadsChris Robinson2013-10-271-0/+2
|
* Silence some clang warningsChris Robinson2013-06-051-2/+2
|
* Lock the device before calling aluHandleDisconnectChris Robinson2012-12-021-0/+2
| | | | | | PulseAudio causes an assert if being relocked inside a callback on the worker thread, where aluHandleDisconnect is called. We can assume it's already locked there, so just make sure the device is locked before being calling it.
* Define WIN32_LEAN_AND_MEAN when including windows.h in alMain.hChris Robinson2012-10-061-0/+3
|
* 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-9/+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.
* Silence some GCC warningsChris Robinson2012-06-171-0/+4
|
* Rename AllDevice -> AllDevicesChris Robinson2012-05-091-1/+1
|
* Remove some more hungarian notationChris Robinson2012-04-191-15/+15
|
* 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-4/+11
| | | | | | | | | | | | 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.
* Slight correction for handling the wave writer backend's timer wrappingChris Robinson2012-03-031-3/+3
|
* Always use "OpenAL Soft" for the short device enumeration listChris Robinson2012-02-201-3/+0
|
* Move the endian test macro to alMain.hChris Robinson2012-02-151-6/+1
|
* Support signed and unsigned 32-bit int outputChris Robinson2012-02-141-0/+4
|
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-241-5/+5
|
* Move backend sources to a separate sub-directoryChris Robinson2011-08-201-0/+355