Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure at least the specified ringbuffer size is writable | Chris Robinson | 2018-03-02 | 1 | -8/+4 |
| | | | | | | Previously, all but one of the specified size could be written (so for a size of n, only n-1 was guaranteed writable). All users pretty much compensated for this, but it makes more sense to fix it at the source. | ||||
* | Add an option to limit the write size of the ringbuffer | Chris Robinson | 2018-03-01 | 1 | -11/+5 |
| | |||||
* | 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 |
| | |||||
* | Use semaphores to signal for more samples with JACK and OpenSL | Chris Robinson | 2018-02-01 | 1 | -28/+8 |
| | |||||
* | Don't bother with an explicit stop backend method | Chris Robinson | 2018-01-29 | 1 | -35/+24 |
| | |||||
* | Call the backend close method in the destructor | Chris Robinson | 2018-01-28 | 1 | -29/+6 |
| | |||||
* | Move the ringbuffer declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -1/+2 |
| | | | | And rename alcRing.c to ringbuffer.c for consistency. | ||||
* | Implement capture support in the OpenSL backend | Chris Robinson | 2017-04-15 | 1 | -1/+379 |
| | |||||
* | 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 | -6/+4 |
| | |||||
* | Rename al_string_* functions to alstr_* | Chris Robinson | 2017-04-04 | 1 | -1/+1 |
| | |||||
* | Fix OpenSL latency calculation | Chris Robinson | 2017-02-22 | 1 | -2/+2 |
| | |||||
* | Use the correct IID for the opensl buffer queue | Chris Robinson | 2017-02-07 | 1 | -2/+3 |
| | |||||
* | Convert the OpenSL backend to the new backend API | Chris Robinson | 2017-02-07 | 1 | -176/+432 |
| | | | | | This also removes the buffer queue callback's call to aluMixData, which could potentially block on a mutex. | ||||
* | Fix for NULL JNIEnv | Chris Robinson | 2017-02-05 | 1 | -5/+3 |
| | | | | Which can happen with native-only apps | ||||
* | Call getSystemService as a non-static function | Chris Robinson | 2017-02-03 | 1 | -4/+4 |
| | |||||
* | Android's AudioManager.getProperty(String) returns a String | Chris Robinson | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | Add more traces for the Java calls being made | Chris Robinson | 2017-01-27 | 1 | -7/+22 |
| | |||||
* | Round and clamp the scaled update count with opensl | Chris Robinson | 2017-01-27 | 1 | -1/+4 |
| | |||||
* | Try to use the system sample rate with Android | Chris Robinson | 2017-01-26 | 1 | -6/+56 |
| | |||||
* | Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1 | Chris Robinson | 2016-07-31 | 1 | -1/+0 |
| | |||||
* | Add a config to output first-, second-, or third-order ambisonics | Chris Robinson | 2016-07-29 | 1 | -1/+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. | ||||
* | Wait for the OpenSL buffer queue to empty when stopping | Chris Robinson | 2015-08-13 | 1 | -1/+10 |
| | |||||
* | Support B-Format output with the wave file writer | Chris Robinson | 2014-11-25 | 1 | -0/+1 |
| | |||||
* | Fix 5.1 surround sound | Chris Robinson | 2014-11-07 | 1 | -4/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Remove the GetLatency method from the old BackendFuncs | Chris Robinson | 2014-09-08 | 1 | -2/+1 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | Remove some unneeded code and unnecessary macros in the OpenSL backend | Chris Robinson | 2014-03-17 | 1 | -73/+20 |
| | |||||
* | bufferQueue's Clear method doesn't take any parameters | Chris Robinson | 2014-01-19 | 1 | -1/+1 |
| | |||||
* | Clear the OpenSL buffer queue when stopping | Chris Robinson | 2014-01-19 | 1 | -2/+15 |
| | |||||
* | Don't use the same buffer segment for enqueueing in OpenSL | Chris Robinson | 2014-01-15 | 1 | -4/+11 |
| | |||||
* | Stop the OpenSL buffer queue when stopping the device | Chris Robinson | 2014-01-15 | 1 | -0/+10 |
| | |||||
* | 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. | ||||
* | Add support for OpenSL ES 1.0.1 on Android | Chris Robinson | 2012-12-12 | 1 | -1/+8 |
| | |||||
* | 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 |
| | |||||
* | 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 | -10/+30 |
| | | | | | | | | | | | | 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. | ||||
* | Always use "OpenAL Soft" for the short device enumeration list | Chris Robinson | 2012-02-20 | 1 | -3/+0 |
| | |||||
* | Return an ALC error enum from the OpenPlayback backend method | Chris Robinson | 2011-08-24 | 1 | -8/+5 |
| | |||||
* | Move backend sources to a separate sub-directory | Chris Robinson | 2011-08-20 | 1 | -0/+425 |