aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix 5.1 surround soundChris Robinson2014-11-071-60/+69
| | | | | | | | | | | | | 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.
* Support AL_EXT_MULAW_BFORMATChris Robinson2014-10-311-1/+3
|
* Add preliminary AL_EXT_BFORMAT supportChris Robinson2014-10-311-7/+13
| | | | | Currently missing the AL_ORIENTATION source property. Gain stepping also does not work.
* Make alcSuspendContext and alcProcessContext batch updatesChris Robinson2014-10-121-4/+135
| | | | | | | | | | This behavior better matches Creative's hardware drivers and Rapture3D's OpenAL driver. A compatibility environment variable is provided to restore the old no-op behavior for any app that behaves badly from this change (set __ALSOFT_SUSPEND_CONTEXT to "ignore"). If too many apps have a problem with this, the default behavior may need to be changed to ignore, with the env var providing an option to defer/batch instead.
* Add a helper to search for a channel index by nameChris Robinson2014-10-021-0/+2
|
* Copy the null terminator from the string instead of appending itChris Robinson2014-09-301-4/+1
|
* Invert the ChannelOffsets arrayChris Robinson2014-09-101-51/+51
|
* Remove the GetLatency method from the old BackendFuncsChris Robinson2014-09-081-6/+1
|
* Convert the winmm backend to the new backend APIChris Robinson2014-09-081-1/+1
|
* Use al_calloc/al_free to allocate contexts and voicesChris Robinson2014-08-301-6/+6
|
* Setup the HRTF format before tracing the pre-reset formatChris Robinson2014-08-291-17/+17
|
* Return the correct default capture device nameChris Robinson2014-08-261-1/+1
|
* Convert the wave writer backend to the new APIChris Robinson2014-08-241-1/+1
|
* Rename activesource to voiceChris Robinson2014-08-211-17/+16
|
* Use an array of objects for active sources instead of pointersChris Robinson2014-08-211-10/+3
|
* Use a NULL source for inactive activesourcesChris Robinson2014-08-211-2/+6
| | | | Also only access the activesource's source field once per update.
* Update COPYING to the latest ↵François Cami2014-08-181-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
* ALC_SOFT_pause_device is finishedChris Robinson2014-08-121-1/+1
|
* Disable the autowah effectChris Robinson2014-08-061-0/+4
| | | | | | | | There's apparently some issues with it causing noise or killing the output. It might be due to the per-sample changes being too harsh for the filter to keep up with, but it's not something I can take care of in time for release. This commit should be reverted after release when work on fixing it can resume.
* Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFEChris Robinson2014-08-031-9/+9
|
* Use atomics for the device and context list headsChris Robinson2014-08-011-59/+96
|
* Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONGChris Robinson2014-07-311-1/+1
|
* Explicitly pass the address of atomics and parameters that can be modifiedChris Robinson2014-07-261-18/+18
|
* Support C11 atomicsChris Robinson2014-07-231-1/+3
|
* Use generic atomics in more placesChris Robinson2014-07-221-23/+18
|
* Add macros for generic atomic functionalityChris Robinson2014-07-221-4/+4
|
* AL_SOFT_source_length is completeChris Robinson2014-07-051-1/+1
|
* AL_SOFT_MSADPCM is functionally completeChris Robinson2014-07-031-1/+1
|
* Load soundfont samples into an ALbufferChris Robinson2014-06-291-4/+0
| | | | | Also remove ALsoundfont's now-unneeded sample storage functions and struct fields.
* Avoid negating 'negative' variable namesChris Robinson2014-06-201-2/+2
|
* Don't pass the device to HRTF methodsChris Robinson2014-06-201-4/+4
|
* Don't overwrite the loopback device format with the HRTF formatChris Robinson2014-06-201-8/+18
|
* Add SSE2 and SSE4.1 linear resamplersTimothy Arceri2014-06-061-1/+7
| | | | | Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities.
* Add an extension string for the in-progress source length extensionChris Robinson2014-05-261-1/+2
| | | | | This is the extension that allows you to get the full length of the source's buffer queue.
* Don't resume the backend if there's no contextsChris Robinson2014-05-241-10/+11
|
* Mark a few more functions as constChris Robinson2014-05-231-4/+4
|
* AL_SOFT_block_alignment is now considered doneChris Robinson2014-05-221-1/+1
|
* Support the band-pass filterChris Robinson2014-05-171-2/+4
|
* Implementing handling high-pass filter propertiesChris Robinson2014-05-171-1/+4
|
* Make RefCount a non-integer typeChris Robinson2014-05-141-8/+8
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Convert the mmdevapi backend to the new backend APIChris Robinson2014-04-251-1/+1
|
* Convert the DSound backend to the new APIChris Robinson2014-04-191-1/+1
|
* Rename AL_ONCE_INIT to AL_ONCE_FLAG_INITChris Robinson2014-04-181-1/+1
|
* Rename althread_once to be more C11-likeChris Robinson2014-04-171-2/+2
|
* Keep TlsDestructors within threads.cChris Robinson2014-04-171-4/+0
| | | | | This basically makes the threads implementation self-contained in threads.c and threads.h, except for the UIntMap/RWLock implementations.
* Don't use DllMain to call altss destructorsChris Robinson2014-04-171-17/+5
|
* Rename althread_key_ wrappers to altss_ and move it to threads.h/cChris Robinson2014-04-171-14/+17
|
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-161-8/+13
|
* Recognize NULL as an empty vector/stringChris Robinson2014-04-031-1/+1
|
* Use an al_string for the device nameChris Robinson2014-03-281-10/+9
|