aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.c
Commit message (Collapse)AuthorAgeFilesLines
* Rework threading functionsChris Robinson2013-10-271-0/+1
|
* Set a name for the mixer and recording threadsChris Robinson2013-10-271-0/+2
|
* Use the UNUSED macro in the backendsChris Robinson2013-10-071-8/+2
|
* Don't include alu.h in alMain.hChris Robinson2012-09-141-2/+1
|
* 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/+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 -> AllDevicesChris Robinson2012-05-091-1/+1
|
* Remove hungarian notation from the winmm backendChris Robinson2012-04-191-212/+207
|
* Remove some more hungarian notationChris Robinson2012-04-191-47/+47
|
* Remove hungarian notation from the device and context structsChris Robinson2012-04-191-2/+2
|
* Update the ALCdevice in winmm's reset method instead of openChris Robinson2012-03-061-64/+80
|
* Use a separate backend callback to start playback of the deviceChris Robinson2012-03-051-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 dsoundChris Robinson2012-02-201-40/+16
|
* Always use "OpenAL Soft" for the short device enumeration listChris Robinson2012-02-201-6/+0
|
* Use a switch to check the device format with winmmChris Robinson2012-02-151-5/+28
|
* Support signed and unsigned 32-bit int outputChris Robinson2012-02-141-1/+3
|
* Fix WaveIn shutdown for realChris Robinson2012-01-201-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 doneChris Robinson2012-01-201-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 devicesChris Robinson2012-01-201-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 backendsChris Robinson2012-01-171-7/+1
|
* Retry opening the WinMM device with 16-bit short if 32-bit float output failsChris Robinson2012-01-171-0/+6
|
* Support 32-bit float in the WinMM backendChris Robinson2012-01-171-4/+11
|
* Define _WIN32_WINNT on the command line with _WIN32Chris Robinson2011-09-201-1/+0
|
* Check the number of available samples before calling the capture methodChris Robinson2011-09-181-8/+5
|
* Return an error from the CaptureSamples method instead of setting itChris Robinson2011-09-141-5/+5
|
* Free the WaveIn buffers' data after unpreparing them allChris Robinson2011-08-251-7/+4
|
* Return an ALC error enum from the OpenCapture backend methodChris Robinson2011-08-241-11/+5
|
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-241-8/+5
|
* Move backend sources to a separate sub-directoryChris Robinson2011-08-201-0/+780