Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudio | Chris Robinson | 2014-04-16 | 3 | -29/+173 | |
| | ||||||
* | Use a C11-like mutex wrapper instead of CRITICAL_SECTIONs | Chris Robinson | 2014-04-16 | 6 | -55/+129 | |
| | ||||||
* | Ensure VECTOR_ITER_BEGIN gives a pointer-to-type instead of an array-of-type | Chris Robinson | 2014-04-14 | 1 | -1/+1 | |
| | ||||||
* | Use a helper to detect a path slash on Windows | Chris Robinson | 2014-04-13 | 1 | -2/+5 | |
| | ||||||
* | Use VECTOR_INSERT to copy and append strings | Chris Robinson | 2014-04-13 | 1 | -12/+8 | |
| | ||||||
* | Add a GCC-specific VECTOR_INSERT | Chris Robinson | 2014-04-13 | 1 | -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 pointer | Chris Robinson | 2014-04-13 | 2 | -3/+5 | |
| | ||||||
* | Avoid referencing the start iterator twice for vector insertion | Chris Robinson | 2014-04-13 | 2 | -4/+5 | |
| | ||||||
* | Add a VECTOR_INSERT method to insert a range of elements at once | Chris Robinson | 2014-04-09 | 3 | -10/+29 | |
| | ||||||
* | Fix a NULL deref when cloning a 0-sized vector | Chris Robinson | 2014-04-09 | 1 | -6/+11 | |
| | ||||||
* | Silence an MSVC warning about -1u | Chris Robinson | 2014-04-07 | 1 | -4/+4 | |
| | ||||||
* | Fix the default XDG_DATA_DIRS paths | Chris Robinson | 2014-04-07 | 1 | -1/+1 | |
| | ||||||
* | Use an al_string vector for winmm device names | Chris Robinson | 2014-04-07 | 2 | -84/+112 | |
| | | | | Also now gets wchar device names, to properly convert to UTF-8 | |||||
* | Use C11's static_assert when available | Chris Robinson | 2014-04-07 | 1 | -1/+1 | |
| | ||||||
* | Make HRTF stepping values per-channel | Chris Robinson | 2014-04-05 | 2 | -4/+4 | |
| | ||||||
* | Properly compare al_strings | Chris Robinson | 2014-04-03 | 2 | -7/+26 | |
| | ||||||
* | Recognize NULL as an empty vector/string | Chris Robinson | 2014-04-03 | 4 | -12/+17 | |
| | ||||||
* | Don't pass the vector's capacity as a parameter to vector_reserve | Chris Robinson | 2014-03-31 | 2 | -7/+7 | |
| | ||||||
* | Use vectors for the dsound device lists | Chris Robinson | 2014-03-31 | 1 | -127/+79 | |
| | ||||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 16 | -42/+36 | |
| | ||||||
* | strlen returns size_t | Chris Robinson | 2014-03-28 | 1 | -1/+1 | |
| | ||||||
* | Use al_string to handle mmdevapi and dsound device names | Chris Robinson | 2014-03-28 | 4 | -79/+135 | |
| | ||||||
* | Add an al_string type and use it for the device lists | Chris Robinson | 2014-03-28 | 4 | -50/+130 | |
| | ||||||
* | Properly handle special folder names with extended characters | Chris Robinson | 2014-03-28 | 2 | -35/+70 | |
| | ||||||
* | Wrap fopen calls under Windows | Chris Robinson | 2014-03-28 | 5 | -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. | |||||
* | Don't have VECTOR_INIT "return" anything | Chris Robinson | 2014-03-27 | 1 | -2/+2 | |
| | ||||||
* | Reactivate the mmdevapi audio client and set the event handle on reset | Chris Robinson | 2014-03-27 | 1 | -10/+26 | |
| | ||||||
* | Remove setState from the MidiSynth vtable | Chris Robinson | 2014-03-23 | 4 | -11/+0 | |
| | ||||||
* | Remove an unnecessary conditional | Chris Robinson | 2014-03-23 | 1 | -7/+1 | |
| | ||||||
* | Remove the last bits of the predictive sample processing | Chris Robinson | 2014-03-23 | 2 | -5/+3 | |
| | ||||||
* | Remove the click removal buffers for auxiliary effect slots | Chris Robinson | 2014-03-23 | 6 | -46/+7 | |
| | ||||||
* | Identity gain step is 1, not 0 | Chris Robinson | 2014-03-23 | 1 | -1/+1 | |
| | ||||||
* | Fix Neon gain step loops | Chris Robinson | 2014-03-23 | 1 | -2/+2 | |
| | ||||||
* | Add gain stepping to the send mixers | Chris Robinson | 2014-03-23 | 5 | -64/+168 | |
| | ||||||
* | Add some integer casts, and a range check | Chris Robinson | 2014-03-23 | 2 | -3/+8 | |
| | ||||||
* | Remove the now-unneeded click removal buffers for the device | Chris Robinson | 2014-03-23 | 8 | -66/+19 | |
| | | | | | | 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 buffers | Chris Robinson | 2014-03-23 | 1 | -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 mixing | Chris Robinson | 2014-03-23 | 6 | -58/+205 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 DirectParams | Chris Robinson | 2014-03-23 | 3 | -10/+19 | |
| | ||||||
* | Store the HrtfState directly in the DirectParams | Chris Robinson | 2014-03-23 | 7 | -32/+31 | |
| | ||||||
* | Add a stub 'soft' MIDI synth handler | Chris Robinson | 2014-03-22 | 2 | -0/+143 | |
| | | | | | Eventually this one will be used to handle MIDI internally, using our own mixers and resamplers. | |||||
* | Use a void* for the MidiSynth Delete method param | Chris Robinson | 2014-03-22 | 3 | -18/+9 | |
| | ||||||
* | Use a void* for the backend Delete method param | Chris Robinson | 2014-03-22 | 7 | -73/+32 | |
| | ||||||
* | Use a void* for the effect state Delete method param | Chris Robinson | 2014-03-21 | 11 | -54/+34 | |
| | ||||||
* | Avoid a size_t-to-ALuint conversion warning | Chris Robinson | 2014-03-21 | 1 | -1/+1 | |
| | ||||||
* | Increase the vector reserve as needed when pushing in new items | Chris Robinson | 2014-03-21 | 3 | -24/+20 | |
| | ||||||
* | Rename the vector's Max field to Capacity | Chris Robinson | 2014-03-21 | 3 | -15/+15 | |
| | ||||||
* | Use vectors for the GenModList | Chris Robinson | 2014-03-21 | 2 | -167/+103 | |
| | ||||||
* | Add a generic vector interface and use it for the active effect slots | Chris Robinson | 2014-03-21 | 4 | -9/+75 | |
| | ||||||
* | Use flexible array members to pad the device and context structs | Chris Robinson | 2014-03-20 | 1 | -4/+4 | |
| | | | | | This helps avoid the convoluted math otherwise required to ensure the default slot and listener, respectively, are aligned. |