aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudioChris Robinson2014-04-164-34/+250
|
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-167-55/+215
|
* Avoid memory leak if preset ID lookup failsChris Robinson2014-04-141-0/+1
|
* Ensure VECTOR_ITER_BEGIN gives a pointer-to-type instead of an array-of-typeChris Robinson2014-04-141-1/+1
|
* Use a helper to detect a path slash on WindowsChris Robinson2014-04-131-2/+5
|
* Use VECTOR_INSERT to copy and append stringsChris Robinson2014-04-131-12/+8
|
* Add a GCC-specific VECTOR_INSERTChris Robinson2014-04-131-0/+12
| | | | | | This version is capable of doing a compile-time type checks, to ensure the objects being inserted are compatible with the vector data type. It should otherwise be functionally identical.
* Pass in the vector insertion point as a pointerChris Robinson2014-04-132-3/+5
|
* Avoid referencing the start iterator twice for vector insertionChris Robinson2014-04-132-4/+5
|
* Insert all new effect slots into the active effect slots at onceChris Robinson2014-04-101-26/+27
|
* Add a VECTOR_INSERT method to insert a range of elements at onceChris Robinson2014-04-093-10/+29
|
* Fix a NULL deref when cloning a 0-sized vectorChris Robinson2014-04-091-6/+11
|
* Silence an MSVC warning about -1uChris Robinson2014-04-071-4/+4
|
* Fix the default XDG_DATA_DIRS pathsChris Robinson2014-04-071-1/+1
|
* Use an al_string vector for winmm device namesChris Robinson2014-04-072-84/+112
| | | | Also now gets wchar device names, to properly convert to UTF-8
* Use C11's static_assert when availableChris Robinson2014-04-075-3/+26
|
* Use FIND_LIBRARY to look for the CoreAudio frameworkChris Robinson2014-04-051-3/+6
|
* Make HRTF stepping values per-channelChris Robinson2014-04-053-6/+6
|
* Properly compare al_stringsChris Robinson2014-04-032-7/+26
|
* Recognize NULL as an empty vector/stringChris Robinson2014-04-034-12/+17
|
* Don't pass the vector's capacity as a parameter to vector_reserveChris Robinson2014-03-312-7/+7
|
* Use vectors for the dsound device listsChris Robinson2014-03-311-127/+79
|
* Use an al_string for the device nameChris Robinson2014-03-2817-43/+38
|
* strlen returns size_tChris Robinson2014-03-281-1/+1
|
* Use al_string to handle mmdevapi and dsound device namesChris Robinson2014-03-284-79/+135
|
* Add an al_string type and use it for the device listsChris Robinson2014-03-284-50/+130
|
* Properly handle special folder names with extended charactersChris Robinson2014-03-282-35/+70
|
* Wrap fopen calls under WindowsChris Robinson2014-03-285-16/+52
| | | | | | | 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.
* Check for ftw and _wfindfirstChris Robinson2014-03-272-2/+22
|
* Don't have VECTOR_INIT "return" anythingChris Robinson2014-03-271-2/+2
|
* Reactivate the mmdevapi audio client and set the event handle on resetChris Robinson2014-03-271-10/+26
|
* Use C99 VLA instead of alloca when availableChris Robinson2014-03-254-19/+39
|
* Remove setState from the MidiSynth vtableChris Robinson2014-03-235-15/+4
|
* Remove an unused methodChris Robinson2014-03-232-10/+0
|
* Remove an unnecessary conditionalChris Robinson2014-03-231-7/+1
|
* Remove the last bits of the predictive sample processingChris Robinson2014-03-233-8/+6
|
* Remove the click removal buffers for auxiliary effect slotsChris Robinson2014-03-239-55/+8
|
* Identity gain step is 1, not 0Chris Robinson2014-03-231-1/+1
|
* Fix Neon gain step loopsChris Robinson2014-03-231-2/+2
|
* Add gain stepping to the send mixersChris Robinson2014-03-237-66/+185
|
* Add some integer casts, and a range checkChris Robinson2014-03-232-3/+8
|
* Remove the now-unneeded click removal buffers for the deviceChris Robinson2014-03-2310-73/+20
| | | | | | 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.
* Don't feed the HRTF mix to the click removal and pending click buffersChris Robinson2014-03-231-40/+3
| | | | | The coefficients (which control the volume and panning) already use stepping to non-abruptly fade the mix.
* Step mixing gains per-sample for non-HRTF mixingChris Robinson2014-03-237-60/+212
| | | | | | | | | | | | | | | | | | | | | | | | 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-235-14/+25
|
* Store the HrtfState directly in the DirectParamsChris Robinson2014-03-2310-63/+49
|
* Don't try to use __restrict as a replacement for restrictChris Robinson2014-03-231-13/+2
| | | | | The compiler it's intended for, MSVC, can't use it anyway because of problems it causes with __declspec(restrict).
* Add a stub 'soft' MIDI synth handlerChris Robinson2014-03-224-1/+147
| | | | | Eventually this one will be used to handle MIDI internally, using our own mixers and resamplers.
* Move some HRTF and mixer structs to alu.hChris Robinson2014-03-222-63/+60
|
* Use a void* for the MidiSynth Delete method paramChris Robinson2014-03-223-18/+9
|