Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -1/+0 |
| | |||||
* | Add a config to output first-, second-, or third-order ambisonics | Chris Robinson | 2016-07-29 | 1 | -0/+3 |
| | | | | | | | | | 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. | ||||
* | Combine VECTOR_RESIZE and VECTOR_RESERVE | Chris Robinson | 2016-07-26 | 1 | -3/+3 |
| | |||||
* | 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. | ||||
* | Shorten VECTOR_ITER_ macros to VECTOR_ | Chris Robinson | 2016-04-15 | 1 | -6/+6 |
| | |||||
* | Convert remaining ringbuffers to the lockless variant | Chris Robinson | 2016-03-29 | 1 | -9/+9 |
| | |||||
* | Reformat Windows device name dressing | Chris Robinson | 2015-12-04 | 1 | -11/+9 |
| | |||||
* | Add a function to get a list of data files | Chris Robinson | 2015-10-03 | 1 | -1/+0 |
| | | | | | | The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order. | ||||
* | Append "on OpenAL Soft" to mmdevapi, dsound, and winmm device names | Chris Robinson | 2015-09-10 | 1 | -24/+26 |
| | | | | | Would be nicer to have a more backend-agnostic method of doing this, Perhaps even also only when the router is being used. | ||||
* | 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 |
| | |||||
* | 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 | -1/+1 |
| | | | | | | | | | | | | | 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. | ||||
* | Convert the winmm backend to the new backend API | Chris Robinson | 2014-09-08 | 1 | -285/+380 |
| | |||||
* | 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 | ||||
* | Don't require pre-declaring vector types | Chris Robinson | 2014-07-06 | 1 | -6/+2 |
| | |||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 1 | -4/+4 |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | ||||
* | Add a helper VECTOR_FOR_EACH macro | Chris Robinson | 2014-04-30 | 1 | -16/+13 |
| | |||||
* | Use a helper method to clear winmm device lists | Chris Robinson | 2014-04-24 | 1 | -20/+15 |
| | |||||
* | Avoid using superfluous LP* types | Chris Robinson | 2014-04-23 | 1 | -10/+10 |
| | |||||
* | Use a RefCount for counting committed winmm buffers | Chris Robinson | 2014-04-23 | 1 | -7/+7 |
| | |||||
* | Use the althrd methods in winmm | Chris Robinson | 2014-04-21 | 1 | -78/+15 |
| | |||||
* | Use the stored format block align instead of calculating it | Chris Robinson | 2014-04-20 | 1 | -7/+4 |
| | |||||
* | Rename SetThreadName to althrd_setname | Chris Robinson | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | Silence an MSVC warning about -1u | Chris Robinson | 2014-04-07 | 1 | -4/+4 |
| | |||||
* | Use an al_string vector for winmm device names | Chris Robinson | 2014-04-07 | 1 | -84/+109 |
| | | | | Also now gets wchar device names, to properly convert to UTF-8 | ||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -2/+2 |
| | |||||
* | 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. | ||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 1 | -0/+1 |
| | |||||
* | Set a name for the mixer and recording threads | Chris Robinson | 2013-10-27 | 1 | -0/+2 |
| | |||||
* | Use the UNUSED macro in the backends | Chris Robinson | 2013-10-07 | 1 | -8/+2 |
| | |||||
* | 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. | ||||
* | Rename AllDevice -> AllDevices | Chris Robinson | 2012-05-09 | 1 | -1/+1 |
| | |||||
* | Remove hungarian notation from the winmm backend | Chris Robinson | 2012-04-19 | 1 | -212/+207 |
| | |||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 1 | -47/+47 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 1 | -2/+2 |
| | |||||
* | Update the ALCdevice in winmm's reset method instead of open | Chris Robinson | 2012-03-06 | 1 | -64/+80 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 1 | -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 dsound | Chris Robinson | 2012-02-20 | 1 | -40/+16 |
| | |||||
* | Always use "OpenAL Soft" for the short device enumeration list | Chris Robinson | 2012-02-20 | 1 | -6/+0 |
| | |||||
* | Use a switch to check the device format with winmm | Chris Robinson | 2012-02-15 | 1 | -5/+28 |
| | |||||
* | Support signed and unsigned 32-bit int output | Chris Robinson | 2012-02-14 | 1 | -1/+3 |
| | |||||
* | Fix WaveIn shutdown for real | Chris Robinson | 2012-01-20 | 1 | -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 done | Chris Robinson | 2012-01-20 | 1 | -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 devices | Chris Robinson | 2012-01-20 | 1 | -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. |