Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a helper to return mmdevapi message thread responses | Chris Robinson | 2014-04-22 | 1 | -16/+15 |
| | |||||
* | Rename SetThreadName to althrd_setname | Chris Robinson | 2014-04-17 | 1 | -1/+1 |
| | |||||
* | Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudio | Chris Robinson | 2014-04-16 | 1 | -8/+8 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -7/+2 |
| | |||||
* | Use al_string to handle mmdevapi and dsound device names | Chris Robinson | 2014-03-28 | 1 | -29/+23 |
| | |||||
* | Reactivate the mmdevapi audio client and set the event handle on reset | Chris Robinson | 2014-03-27 | 1 | -10/+26 |
| | |||||
* | Don't assume the default mmdevapi device is in the collection | Chris Robinson | 2014-03-17 | 1 | -2/+2 |
| | |||||
* | Fix a race condition in the mmdevapi message queue thread | Chris Robinson | 2014-02-09 | 1 | -0/+6 |
| | |||||
* | Add some extra traces to the mmdevapi backend | Chris Robinson | 2014-02-09 | 1 | -0/+8 |
| | | | | Trying to track down the cause of some reported errors. | ||||
* | 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. | ||||
* | Move the device mutex to the backend | Chris Robinson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 1 | -3/+3 |
| | |||||
* | Set a name for the mixer and recording threads | Chris Robinson | 2013-10-27 | 1 | -0/+1 |
| | |||||
* | Fix a potential leak when mmdevapi fails to open | Chris Robinson | 2013-05-19 | 1 | -0/+3 |
| | |||||
* | Filter unneeded thread messages with MMDevApi | Chris Robinson | 2012-12-24 | 1 | -1/+3 |
| | |||||
* | Lock the device before calling aluHandleDisconnect | Chris Robinson | 2012-12-02 | 1 | -0/+6 |
| | | | | | | 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. | ||||
* | Use the stored buffer metrics for the mmdevapi buffer size | Chris Robinson | 2012-11-04 | 1 | -9/+1 |
| | |||||
* | Add rudimentary latency tracking for mmdevapi | Chris Robinson | 2012-11-04 | 1 | -1/+16 |
| | | | | | | | | This won't be as granular as it could be, since it only updates when the wakeup event trips (which may or may not happen more often than OpenAL's mix updates). A more correct method would be to query GetCurrentPadding directly, but that would require sending a message to the processing thread and waiting for a reply, since we can't guarantee COM on the calling thread. | ||||
* | 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. | ||||
* | Add DEVPKEY_Device_FriendlyName declaration for mingw-w64 compatibility | Chris Robinson | 2012-06-14 | 1 | -0/+3 |
| | |||||
* | Rename AllDevice -> AllDevices | Chris Robinson | 2012-05-09 | 1 | -1/+1 |
| | |||||
* | Remove hungarian notation from dsound and mmdevapi | Chris Robinson | 2012-04-19 | 1 | -11/+11 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 1 | -1/+1 |
| | |||||
* | Try to ensure the full mmdevapi buffer is used | Chris Robinson | 2012-03-13 | 1 | -4/+12 |
| | |||||
* | Try to ensure at least 2 mmdevapi updates | Chris Robinson | 2012-03-13 | 1 | -1/+2 |
| | |||||
* | Try to find a multiple of mmdevapi's period size nearest to the wanted ↵ | Chris Robinson | 2012-03-13 | 1 | -0/+3 |
| | | | | update size | ||||
* | Store a duplicate of the mmdevapi device ID | Chris Robinson | 2012-03-06 | 1 | -5/+9 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 1 | -30/+54 |
| | | | | | | | | | | | | 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. | ||||
* | Don't use GUIDs to ID mmdevapi devices, and don't enumerate if not needed | Chris Robinson | 2012-03-01 | 1 | -101/+68 |
| | |||||
* | Get and release the mmdevapi render client iface on the message thread | Chris Robinson | 2012-02-29 | 1 | -17/+15 |
| | |||||
* | Use local variables to determine how much to write to mmdevapi | Chris Robinson | 2012-02-29 | 1 | -3/+6 |
| | |||||
* | Print the mmdevapi device and GUID found | Chris Robinson | 2012-02-26 | 1 | -0/+3 |
| | |||||
* | Watch for CLSIDFromString errors | Chris Robinson | 2012-02-23 | 1 | -1/+2 |
| | |||||
* | Avoid using a default name with the MMDevApi backend | Chris Robinson | 2012-02-20 | 1 | -17/+13 |
| | |||||
* | Always use "OpenAL Soft" for the short device enumeration list | Chris Robinson | 2012-02-20 | 1 | -4/+0 |
| | |||||
* | Minor MMDevApi cleanups | Chris Robinson | 2012-02-18 | 1 | -6/+7 |
| | |||||
* | Use the correct type to store the count from IMMDeviceCollection_GetCount | Chris Robinson | 2012-02-17 | 1 | -4/+4 |
| | |||||
* | Silence another MSVC warning | Chris Robinson | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Initialize a variable before use | Chris Robinson | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Support device enumeration with mmdevapi | Chris Robinson | 2012-02-16 | 1 | -11/+281 |
| | |||||
* | Fix a device count leak and make sure COM is cleaned up if an mmdevice open ↵ | Chris Robinson | 2012-02-16 | 1 | -8/+11 |
| | | | | fails | ||||
* | Calculate the buffer time before modifying the frequency | Chris Robinson | 2012-02-15 | 1 | -2/+3 |
| | |||||
* | Get the mmdevapi device period after initialization | Chris Robinson | 2012-02-15 | 1 | -21/+13 |
| | |||||
* | Support signed and unsigned 32-bit int output | Chris Robinson | 2012-02-14 | 1 | -0/+10 |
| | |||||
* | Avoid printing messages about device parameter changes in the backends | Chris Robinson | 2012-01-17 | 1 | -70/+30 |
| | |||||
* | Initialize/Uninitialize COM as needed | Chris Robinson | 2011-10-24 | 1 | -2/+11 |
| |