aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
Commit message (Collapse)AuthorAgeFilesLines
* Use a struct to store the source's direct gain/gainhf propertiesChris Robinson2014-05-112-9/+10
|
* Avoid locking the mixer while queueing buffers onto a source.Chris Robinson2014-05-101-24/+34
|
* Mark the buffer queue pointers volatileChris Robinson2014-05-101-2/+2
|
* Add a missing pointer initChris Robinson2014-05-101-3/+3
|
* Explicit init the source queue and current_buffer pointersChris Robinson2014-05-101-0/+3
|
* Use a RWLock to help protect the source's buffer queueChris Robinson2014-05-103-35/+61
| | | | | In some instances this allows to to remove the device/mixer lock, or reduce how long it's held.
* Don't explicitly store the BuffersInQueueChris Robinson2014-05-102-10/+14
|
* Store the current buffer queue item, rather than played buffer countChris Robinson2014-05-102-78/+64
|
* Move the static_assert definition to its own headerChris Robinson2014-05-071-10/+1
|
* Move some headers to include/Chris Robinson2014-05-061-217/+0
| | | | Note, these are not installed. Only headers in include/AL/ are installed.
* Better pack HRTF mixing propertiesChris Robinson2014-05-032-14/+14
|
* Clamp the current and target gain lower bound to epsilonChris Robinson2014-05-031-1/+1
| | | | | Should give a bit more wiggle room for the gain stepping to get lower than the silence threshold.
* Convert the mmdevapi backend to the new backend APIChris Robinson2014-04-251-3/+0
|
* Convert the DSound backend to the new APIChris Robinson2014-04-191-3/+0
|
* Add a SZFMT macro for a size_t string formatterChris Robinson2014-04-191-0/+9
|
* Add a GCC-specific STATIC_UPCAST macro that checks the object typeChris Robinson2014-04-192-2/+9
| | | | | The check is compile time, and is functionally identical to the old/alternate version.
* Use C11 alignas when availableChris Robinson2014-04-193-16/+15
|
* Simplify some error checkingChris Robinson2014-04-181-14/+4
|
* Check pthread_mutex_unlock for errorsChris Robinson2014-04-181-3/+4
|
* Rename AL_ONCE_INIT to AL_ONCE_FLAG_INITChris Robinson2014-04-181-2/+2
|
* Check TlsSetValue for errorChris Robinson2014-04-171-1/+2
|
* Rename althread_once to be more C11-likeChris Robinson2014-04-171-3/+16
|
* Use the thread ID for althrd_t on WindowsChris Robinson2014-04-171-7/+3
|
* Rename SetThreadName to althrd_setnameChris Robinson2014-04-171-5/+1
|
* Don't inline al_nssleepChris Robinson2014-04-171-11/+2
|
* Make and use a C11-like altimespec_get wrapper functionChris Robinson2014-04-171-1/+5
|
* Rename althread_key_ wrappers to altss_ and move it to threads.h/cChris Robinson2014-04-171-0/+31
|
* Fix some almtx_ return valuesChris Robinson2014-04-161-10/+22
|
* Remove almtx_normal and almtx_errorcheckChris Robinson2014-04-161-3/+1
|
* Fix althrd_sleep return valueChris Robinson2014-04-161-3/+9
|
* Avoid using a Sleep() wrapperChris Robinson2014-04-161-0/+12
|
* Remove the old thread wrappers for the new onesChris Robinson2014-04-161-10/+4
|
* Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudioChris Robinson2014-04-161-5/+77
|
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-161-0/+86
|
* Avoid memory leak if preset ID lookup failsChris Robinson2014-04-141-0/+1
|
* Insert all new effect slots into the active effect slots at onceChris Robinson2014-04-101-26/+27
|
* Use C11's static_assert when availableChris Robinson2014-04-072-2/+14
|
* Make HRTF stepping values per-channelChris Robinson2014-04-051-2/+2
|
* Use an al_string for the device nameChris Robinson2014-03-281-1/+2
|
* Use C99 VLA instead of alloca when availableChris Robinson2014-03-252-8/+10
|
* Remove setState from the MidiSynth vtableChris Robinson2014-03-231-4/+4
|
* Remove an unused methodChris Robinson2014-03-232-10/+0
|
* Remove the last bits of the predictive sample processingChris Robinson2014-03-231-3/+3
|
* Remove the click removal buffers for auxiliary effect slotsChris Robinson2014-03-233-9/+1
|
* Add gain stepping to the send mixersChris Robinson2014-03-232-2/+17
|
* Remove the now-unneeded click removal buffers for the deviceChris Robinson2014-03-232-7/+1
| | | | | | They are still there for auxiliary sends. However, they should go away soon enough too, and then we won't have to mess around with calculating extra "predictive" samples in the mixer.
* Step mixing gains per-sample for non-HRTF mixingChris Robinson2014-03-231-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | This fades the dry mixing gains using a logarithmic curve, which should produce a smoother transition than a linear one. It functions similarly to a linear fade except that step = (target - current) / numsteps; ... gain += step; becomes step = powf(target / current, 1.0f / numsteps); ... gain *= step; where 'target' and 'current' are clamped to a lower bound that is greater than 0 (which makes no sense on a logarithmic scale). Consequently, the non-HRTF direct mixers do not do not feed into the click removal and pending click buffers, as this per-sample fading would do an adequate job of stopping clicks and pops caused by extreme gain changes. These buffers should be removed shortly.
* Move the step counter and moving flag to DirectParamsChris Robinson2014-03-232-4/+6
|
* Store the HrtfState directly in the DirectParamsChris Robinson2014-03-233-31/+18
|
* Add a stub 'soft' MIDI synth handlerChris Robinson2014-03-221-1/+3
| | | | | Eventually this one will be used to handle MIDI internally, using our own mixers and resamplers.