Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark some mixer pointers as restricted | Chris Robinson | 2011-05-02 | 1 | -27/+27 |
| | |||||
* | Add casts to silence some warnings | Chris Robinson | 2011-05-02 | 1 | -2/+2 |
| | |||||
* | Use a pointer-to-arrays for the local HRTF coefficients | Chris Robinson | 2011-05-02 | 1 | -8/+8 |
| | |||||
* | Implement HRTF mixers for multi-channel sources | Chris Robinson | 2011-05-02 | 1 | -12/+269 |
| | |||||
* | Use flags instead of separate bools | Chris Robinson | 2011-05-01 | 1 | -1/+1 |
| | |||||
* | Add an HRTF filter for mono sources | Chris Robinson | 2011-05-01 | 1 | -2/+174 |
| | | | | | | | | | | The data is based on the KEMAR HRTF data provided by MIT, which can be found at <http://sound.media.mit.edu/resources/KEMAR.html>. The compact measurements were used. See hrtf_tables.inc for more information. The filter is only available for stereo output, using a 44100hz playback rate. Note also that it currently only applies to mono sounds, and the cf_level and head_dampen config options are ignored while it is active. | ||||
* | Fix looping on loop points | Chris Robinson | 2011-02-06 | 1 | -7/+12 |
| | |||||
* | Avoid using a variable for array sizes and const variable initialization | Chris Robinson | 2011-01-23 | 1 | -5/+5 |
| | |||||
* | Fix loop handling when traversing the buffer queue backwards | Chris Robinson | 2011-01-23 | 1 | -3/+3 |
| | |||||
* | Be consistent with variable name use | Chris Robinson | 2010-12-09 | 1 | -9/+9 |
| | |||||
* | Combine stereo and multi-channel templates | Chris Robinson | 2010-12-09 | 1 | -181/+13 |
| | |||||
* | Use a matrix when rendering to the dry buffer | Chris Robinson | 2010-12-09 | 1 | -36/+37 |
| | |||||
* | Use simple loops instead of several explicit lines for the mono mixer | Chris Robinson | 2010-12-09 | 1 | -24/+6 |
| | |||||
* | Be a bit more generic with the multi-channel mixer loops | Chris Robinson | 2010-12-09 | 1 | -77/+73 |
| | |||||
* | Rename OUTPUTCHANNELS to something more descriptive | Chris Robinson | 2010-12-01 | 1 | -9/+9 |
| | |||||
* | Reorder some parameters for consistency | Chris Robinson | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | Store double formats as float | Chris Robinson | 2010-11-28 | 1 | -46/+0 |
| | | | | | The mixer will cut it down to float anyway, so it's unnecessary and needlessly creates more mixer functions | ||||
* | Rename some stuff for consistency | Chris Robinson | 2010-11-28 | 1 | -3/+3 |
| | |||||
* | Don't store the internal format in the buffer | Chris Robinson | 2010-11-28 | 1 | -1/+1 |
| | | | | The type and channel config are good enough | ||||
* | Support rear formats directly in the mixer | Chris Robinson | 2010-11-27 | 1 | -0/+23 |
| | |||||
* | Support 64-bit double buffers directly | Chris Robinson | 2010-11-27 | 1 | -0/+42 |
| | |||||
* | Use enums when selecting the mixer | Chris Robinson | 2010-11-26 | 1 | -29/+34 |
| | |||||
* | Avoid some more code duplication | Chris Robinson | 2010-11-26 | 1 | -36/+44 |
| | |||||
* | Properly clamp high pitch values | Chris Robinson | 2010-11-26 | 1 | -17/+0 |
| | |||||
* | Subtract the fractional position separately | Chris Robinson | 2010-11-26 | 1 | -1/+2 |
| | |||||
* | Rename some variables to be clearer | Chris Robinson | 2010-11-26 | 1 | -61/+62 |
| | |||||
* | Make the buffer padding size dependent on the resampler | Chris Robinson | 2010-11-26 | 1 | -15/+20 |
| | |||||
* | Convert a few divisions to multiplications | Chris Robinson | 2010-11-26 | 1 | -6/+7 |
| | |||||
* | Make a FRACTIONONE macro, and use it | Chris Robinson | 2010-11-26 | 1 | -8/+8 |
| | |||||
* | Share the interpolation functions and use them in the reverb effect | Chris Robinson | 2010-11-26 | 1 | -23/+9 |
| | |||||
* | Add a missing break statement | Chris Robinson | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | Add a cubic resampler | Chris Robinson | 2010-11-25 | 1 | -6/+57 |
| | |||||
* | Force the point resampler when the source plays at normal speed | Chris Robinson | 2010-11-25 | 1 | -1/+1 |
| | |||||
* | Pass a pointer to the samplers so they can read just the samples they need | Chris Robinson | 2010-11-25 | 1 | -64/+51 |
| | |||||
* | Add "pre-padding" to the temp buffer | Chris Robinson | 2010-11-25 | 1 | -10/+88 |
| | | | | This will help to implement resamplers that want previous samples | ||||
* | Make sure the target buffer size is frame aligned | Chris Robinson | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | Minor rework of the template macros | Chris Robinson | 2010-11-25 | 1 | -47/+54 |
| | |||||
* | Remove the cosine resampler | Chris Robinson | 2010-11-25 | 1 | -44/+0 |
| | | | | It's too slow when auxiliary sends are being used. | ||||
* | Double-up the interpolation functions (and make them use doubles) | Chris Robinson | 2010-11-25 | 1 | -65/+46 |
| | |||||
* | Rename some "template" functions | Chris Robinson | 2010-11-25 | 1 | -21/+21 |
| | |||||
* | Always make sure there's a sample available to mix, for pending click removal | Chris Robinson | 2010-11-25 | 1 | -109/+53 |
| | |||||
* | Use a temporary stack buffer to store the source buffer data to be mixed | Chris Robinson | 2010-11-25 | 1 | -72/+150 |
| | | | | | | | | This makes it much easier to pack the playable buffer data so that it's a continuous data stream. This could normally be broken up otherwise, such as when using loop points or small queued buffers. Currently it defaults to a 16KB stack buffer, but this can be overridden at compile time. | ||||
* | Use 0-based access for the buffer data | Chris Robinson | 2010-11-24 | 1 | -10/+15 |
| | |||||
* | Support 8-bit sample data in the mixer | Chris Robinson | 2010-11-24 | 1 | -1/+58 |
| | |||||
* | Check the sample byte size after the resampler | Chris Robinson | 2010-11-24 | 1 | -66/+51 |
| | |||||
* | Get rid of a useless union | Chris Robinson | 2010-11-24 | 1 | -12/+8 |
| | |||||
* | Change the mixer macros to declare functions | Chris Robinson | 2010-11-24 | 1 | -76/+196 |
| | |||||
* | Set mixer sample pos and frac when needed | Chris Robinson | 2010-11-24 | 1 | -6/+12 |
| | |||||
* | Reorder some stored source params | Chris Robinson | 2010-11-24 | 1 | -3/+3 |
| | |||||
* | Make sure the buffer padding is always cleared before looking for the next ↵ | Chris Robinson | 2010-11-24 | 1 | -2/+1 |
| | | | | buffer |