Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the Connected state atomic | Chris Robinson | 2018-02-04 | 1 | -7/+6 |
| | | | | Also don't send the Disconnected event more than once. | ||||
* | Provide more descriptive messages to disconnection events | Chris Robinson | 2018-02-03 | 1 | -1/+1 |
| | |||||
* | Don't bother with an explicit stop backend method | Chris Robinson | 2018-01-29 | 1 | -9/+4 |
| | |||||
* | Call the backend close method in the destructor | Chris Robinson | 2018-01-28 | 1 | -1/+6 |
| | |||||
* | 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. | ||||
* | Set the float PCM GUID for wave files only when outputting float | Chris Robinson | 2017-07-15 | 1 | -2/+3 |
| | |||||
* | Store the ambisonic order separate from the channel enum | Chris Robinson | 2017-04-12 | 1 | -11/+14 |
| | |||||
* | Rename al_string_* functions to alstr_* | Chris Robinson | 2017-04-04 | 1 | -1/+1 |
| | |||||
* | Use separate enums for the ambisonic channel order and normalization | Chris Robinson | 2017-02-27 | 1 | -1/+2 |
| | |||||
* | Always lock the device backend before calling aluMixData | Chris Robinson | 2017-02-18 | 1 | -0/+2 |
| | |||||
* | Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1 | Chris Robinson | 2016-07-31 | 1 | -4/+3 |
| | |||||
* | Add a config to output first-, second-, or third-order ambisonics | Chris Robinson | 2016-07-29 | 1 | -0/+5 |
| | | | | | | | | | Currently incomplete, as second- and third-order output will not correctly handle B-Format input buffers. A standalone up-sampler will be needed, similar to the high-quality decoder. Also, output is ACN ordering with SN3D normalization. A config option will eventually be provided to change this if desired. | ||||
* | Change the backend getLatency method to return the clock time too | Chris Robinson | 2016-05-28 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Don't write one byte at a time for the wave writer on big endian | Chris Robinson | 2016-01-25 | 1 | -17/+19 |
| | |||||
* | Replace multiple fputc calls with one fwrite | Chris Robinson | 2016-01-23 | 1 | -6/+4 |
| | |||||
* | Allow for device-specific config values | Chris Robinson | 2015-08-28 | 1 | -3/+3 |
| | |||||
* | Add a macro to simplify allocating and constructing an object | Chris Robinson | 2015-05-18 | 1 | -21/+1 |
| | |||||
* | Support B-Format output with the wave file writer | Chris Robinson | 2014-11-25 | 1 | -1/+19 |
| | |||||
* | Fix 5.1 surround sound | Chris Robinson | 2014-11-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | Apparently, 5.1 surround sound is supposed to use the "side" channels, not the back channels, and we've been wrong this whole time. That means the "5.1 Side" is actually the correct 5.1 setup, and using the back channels is anomalous. Additionally, this means the 5.1 buffer format should also use the the side channels instead of the back channels. A final note: the 5.1 mixing coefficients are changed so both use the original 5.1 surround sound set (with the surround channels at +/-110 degrees). So the only difference now between 5.1 "side" and 5.1 "back" is the channel labels. | ||||
* | Use a wave file channel mask based on the actual format | Chris Robinson | 2014-09-10 | 1 | -14/+12 |
| | |||||
* | Only pass nano seconds to al_nssleep | Chris Robinson | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | Convert the wave writer backend to the new API | Chris Robinson | 2014-08-24 | 1 | -111/+180 |
| | |||||
* | 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 | -1/+1 |
| | |||||
* | Make and use a C11-like altimespec_get wrapper function | Chris Robinson | 2014-04-17 | 1 | -28/+34 |
| | |||||
* | Avoid using a Sleep() wrapper | Chris Robinson | 2014-04-16 | 1 | -3/+3 |
| | |||||
* | Remove the old thread wrappers for the new ones | Chris Robinson | 2014-04-16 | 1 | -8/+7 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | Wrap fopen calls under Windows | Chris Robinson | 2014-03-28 | 1 | -1/+1 |
| | | | | | | | The idea is that all filenames we deal with are encoded as UTF-8, but the Windows functions that take a char string interpret it using the ANSI codepage. So instead, we convert the UTF-8 string to a wchar string, and then use the wchar functions for proper extended character filename support. | ||||
* | 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 |
| | |||||
* | Separate compatibility declarations | 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/+2 |
| | |||||
* | Silence some clang warnings | Chris Robinson | 2013-06-05 | 1 | -2/+2 |
| | |||||
* | Lock the device before calling aluHandleDisconnect | Chris Robinson | 2012-12-02 | 1 | -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.h | Chris Robinson | 2012-10-06 | 1 | -0/+3 |
| | |||||
* | 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 | -9/+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/+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 warnings | Chris Robinson | 2012-06-17 | 1 | -0/+4 |
| | |||||
* | Rename AllDevice -> AllDevices | Chris Robinson | 2012-05-09 | 1 | -1/+1 |
| | |||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 1 | -15/+15 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 1 | -1/+1 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 1 | -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 wrapping | Chris Robinson | 2012-03-03 | 1 | -3/+3 |
| | |||||
* | Always use "OpenAL Soft" for the short device enumeration list | Chris Robinson | 2012-02-20 | 1 | -3/+0 |
| | |||||
* | Move the endian test macro to alMain.h | Chris Robinson | 2012-02-15 | 1 | -6/+1 |
| | |||||
* | Support signed and unsigned 32-bit int output | Chris Robinson | 2012-02-14 | 1 | -0/+4 |
| |