Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the Connected state atomic | Chris Robinson | 2018-02-04 | 1 | -1/+2 |
| | | | | Also don't send the Disconnected event more than once. | ||||
* | Provide more descriptive messages to disconnection events | Chris Robinson | 2018-02-03 | 1 | -4/+5 |
| | |||||
* | Don't bother with an explicit stop backend method | Chris Robinson | 2018-01-29 | 1 | -21/+13 |
| | |||||
* | Call the backend close method in the destructor | Chris Robinson | 2018-01-28 | 1 | -4/+18 |
| | |||||
* | Move the ringbuffer declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | | | | And rename alcRing.c to ringbuffer.c for consistency. | ||||
* | Move the config function declarations to their own header | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | | | | And rename alcConfig.c to alconfig.c for consistency. | ||||
* | Downgrade some ERRs to TRACEs | Chris Robinson | 2017-07-23 | 1 | -2/+2 |
| | | | | | These don't exist outside OSSv4, e.g. with OSS/Free, padsp, or aoss, so no need to be concerned. | ||||
* | Make sure OSS device files exist before adding them | Chris Robinson | 2017-07-23 | 1 | -2/+10 |
| | |||||
* | Use separate atomic macros for pointers | Chris Robinson | 2017-04-14 | 1 | -2/+2 |
| | |||||
* | Store the ambisonic order separate from the channel enum | Chris Robinson | 2017-04-12 | 1 | -7/+9 |
| | |||||
* | Rename al_string_* functions to alstr_* | Chris Robinson | 2017-04-04 | 1 | -2/+2 |
| | |||||
* | Don't remove a period from the OSS buffer | Chris Robinson | 2017-02-22 | 1 | -11/+4 |
| | | | | | Since we're now waiting for space to be available before mixing, the mixing buffer isn't adding another period. | ||||
* | Use select() to wait for audio with OSS and Solaris | Chris Robinson | 2017-02-18 | 1 | -58/+88 |
| | |||||
* | Use proper atomics in the OSS backend | Chris Robinson | 2017-01-10 | 1 | -17/+17 |
| | |||||
* | Add missing macros for OSS3/Free compatibility | Chris Robinson | 2016-12-21 | 1 | -0/+2 |
| | |||||
* | Warn when a given device name isn't found for OSS | Chris Robinson | 2016-12-01 | 1 | -4/+10 |
| | |||||
* | Minor cleanup for ALCossListPopulate | Chris Robinson | 2016-12-01 | 1 | -22/+18 |
| | |||||
* | Ensure OSS devices are enumerated when a name is requested. | Chris Robinson | 2016-12-01 | 1 | -2/+12 |
| | |||||
* | Change the backend getLatency method to return the clock time too | Chris Robinson | 2016-05-28 | 1 | -2/+2 |
| | | | | | | This will also allow backends to better synchronize the tracked clock time with the device output latency, without necessarily needing to lock if the backend API can allow for it. | ||||
* | Convert remaining ringbuffers to the lockless variant | Chris Robinson | 2016-03-29 | 1 | -25/+26 |
| | |||||
* | Fix for systems that don't have strnlen | Chris Robinson | 2016-01-21 | 1 | -4/+14 |
| | |||||
* | Improve the OSS enumeration code | Chris Robinson | 2016-01-21 | 1 | -63/+71 |
| | |||||
* | Added a check for an empty path | Keegan Drake H.P | 2015-12-17 | 1 | -2/+2 |
| | |||||
* | Add device enumeration support for OSSv4 | Keegan Drake H.P | 2015-12-17 | 1 | -27/+206 |
| | |||||
* | Add includes to work around broken GNU headers and POSIX-2001 | Chris Robinson | 2015-12-11 | 1 | -0/+1 |
| | |||||
* | Allow for device-specific config values | Chris Robinson | 2015-08-28 | 1 | -2/+2 |
| | |||||
* | Add a macro to simplify allocating and constructing an object | Chris Robinson | 2015-05-18 | 1 | -12/+2 |
| | |||||
* | Use a macro for the record thread name | Chris Robinson | 2014-12-21 | 1 | -1/+1 |
| | |||||
* | Only pass nano seconds to al_nssleep | Chris Robinson | 2014-09-08 | 1 | -2/+2 |
| | |||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -2/+2 |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | ||||
* | Rename SetThreadName to althrd_setname | Chris Robinson | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | Avoid using a Sleep() wrapper | Chris Robinson | 2014-04-16 | 1 | -2/+2 |
| | |||||
* | Remove the old thread wrappers for the new ones | Chris Robinson | 2014-04-16 | 1 | -14/+17 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -2/+2 |
| | |||||
* | Use a void* for the backend Delete method param | Chris Robinson | 2014-03-22 | 1 | -15/+6 |
| | |||||
* | Make backend factory methods static as needed | Chris Robinson | 2013-11-02 | 1 | -5/+5 |
| | |||||
* | Convert the OSS backend to the new interface | Chris Robinson | 2013-11-02 | 1 | -178/+276 |
| | |||||
* | Move the device mutex to the backend | Chris Robinson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 1 | -6/+6 |
| | |||||
* | Set a name for the mixer and recording threads | Chris Robinson | 2013-10-27 | 1 | -0/+2 |
| | |||||
* | Lock the device before calling aluHandleDisconnect | Chris Robinson | 2012-12-02 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | Don't include alu.h in alMain.h | Chris Robinson | 2012-09-14 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Check the right playback device file with OSS | Chris Robinson | 2012-04-22 | 1 | -1/+1 |
| | |||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 1 | -18/+18 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 1 | -2/+2 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 1 | -3/+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. |