Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move HRTF macros and function declarations to a separate header | Chris Robinson | 2014-02-23 | 1 | -0/+1 |
| | |||||
* | Remove an unnecessary special-case for the click removal | Chris Robinson | 2014-02-01 | 1 | -14/+1 |
| | |||||
* | Keep track of a device clock time, based on the number of samples processed | Chris Robinson | 2014-02-01 | 1 | -0/+8 |
| | |||||
* | Implement dry and wet mixers for Neon | Chris Robinson | 2014-01-26 | 1 | -0/+8 |
| | | | | Code provided by Philippe Simons <[email protected]>. | ||||
* | Move the base MidiSynth to a separate file | Chris Robinson | 2013-12-17 | 1 | -1/+2 |
| | |||||
* | Create and use a MidiSynth on playback devices | Chris Robinson | 2013-11-27 | 1 | -0/+3 |
| | |||||
* | Add min/max/clamp methods for doubles | Chris Robinson | 2013-11-27 | 1 | -0/+4 |
| | |||||
* | Use C99 inline in more places | Chris Robinson | 2013-11-04 | 1 | -0/+22 |
| | |||||
* | Rename VCALL and VCALL0 to V and V0 | Chris Robinson | 2013-11-02 | 1 | -6/+6 |
| | |||||
* | Modify how VCALL is handled | Chris Robinson | 2013-10-28 | 1 | -6/+6 |
| | | | | | | | | | | | Now instead of specifying the arguments as a third argument to the macro, like VCALL(object,function,(arg1, arg2)); they are specified separately after the macro, like VCALL(object,function)(arg1, arg2); Also, VCALL_NOARGS has been removed in favor of VCALL0, which behaves like above but expects an empty argument list (a separate macro is needed to work around preprocessor limitations). | ||||
* | Use helper macros to convert between degrees and radians | Chris Robinson | 2013-10-08 | 1 | -30/+30 |
| | |||||
* | Don't store the effect slot in SendParams | Chris Robinson | 2013-10-06 | 1 | -5/+24 |
| | | | | This makes it much more like DirectParams. | ||||
* | Rename Filter param member to LpFilter | Chris Robinson | 2013-10-06 | 1 | -4/+4 |
| | |||||
* | Use a separate value for the maximum buffer channels | Chris Robinson | 2013-07-23 | 1 | -2/+2 |
| | | | | | | | Unlike the device, input buffers are accessed based on channel numbers instead of enums. This means the maximum number of channels they hold depends on the number of channels any one format can have, rather than the total number of recognized channels. Currently, this is 8 for 7.1. | ||||
* | Improve the source's low-pass filter response | Chris Robinson | 2013-07-20 | 1 | -4/+4 |
| | |||||
* | Limit the source step to 10 | Chris Robinson | 2013-07-02 | 1 | -14/+4 |
| | | | | | | | | | This means the combination of the buffer frequency, source pitch, and doppler shift can't exceed 10x the device playback frequency. This is needed to keep the mixer from starving with a really high increment, causing small DstBufferSize values that require a lot of iterations. | ||||
* | Fix up the naming convention of effect methods | Chris Robinson | 2013-05-29 | 1 | -4/+4 |
| | |||||
* | Use C99's inline instead of __inline | Chris Robinson | 2013-05-28 | 1 | -12/+12 |
| | |||||
* | Use the high-shelf filter in place of low-pass | Chris Robinson | 2013-05-28 | 1 | -4/+4 |
| | | | | | They effectively both work to lower (or raise) high frequencies. However, the high-shelf performs better when gain=1. | ||||
* | Simplify and fix some filter gain calculations | Chris Robinson | 2013-05-27 | 1 | -6/+12 |
| | |||||
* | Use ALfilterState for the source direct and send filters | Chris Robinson | 2013-05-27 | 1 | -22/+17 |
| | |||||
* | Use generic VCALL[_NOARGS] macros instead of type-specific wrappers | Chris Robinson | 2013-05-27 | 1 | -6/+6 |
| | |||||
* | Use an ALeffectProps union to store the effect properties | Chris Robinson | 2013-05-25 | 1 | -6/+6 |
| | |||||
* | Use restrict instead of RESTRICT | Chris Robinson | 2013-05-22 | 1 | -5/+5 |
| | |||||
* | Use a properly-defined history for the FILTER struct | Chris Robinson | 2013-05-21 | 1 | -5/+9 |
| | |||||
* | Fix overflow issues when converting float to int | Chris Robinson | 2013-04-22 | 1 | -7/+10 |
| | | | | | | | | 32-bit floats can only reach between -16777215...+16777215 (25 bits) before it starts losing whole-number accuracy. Some compiler optimizations may break trying to multiply a float by 2147483647.0 when the result is given right to a float parameter, causing it instead to multiply by the nearest representable float value, 2147483648.0. | ||||
* | Add a missing cast to silence MSVC | Chris Robinson | 2013-03-22 | 1 | -1/+1 |
| | |||||
* | Use less math to clamp floats to -1...+1 | Chris Robinson | 2013-03-17 | 1 | -3/+3 |
| | | | | | The previous code could have issues as precision lowers. This should hopefully work better while only using one if check instead of two. | ||||
* | Use +/-90 degrees for stereo sources with non-HRTF stereo output. | Chris Robinson | 2012-12-04 | 1 | -1/+9 |
| | |||||
* | Lock the device before calling aluHandleDisconnect | Chris Robinson | 2012-12-02 | 1 | -2/+0 |
| | | | | | | PulseAudio causes an assert if being relocked inside a callback on the worker thread, where aluHandleDisconnect is called. We can assume it's already locked there, so just make sure the device is locked before being calling it. | ||||
* | Use an array to specify the offset for each channel of the device buffer | Chris Robinson | 2012-11-04 | 1 | -5/+8 |
| | | | | This effectively inverts the DevChannels array | ||||
* | Make a decimal value a float type | Chris Robinson | 2012-10-31 | 1 | -1/+1 |
| | |||||
* | Add a couple comments to the code | Chris Robinson | 2012-10-26 | 1 | -0/+2 |
| | |||||
* | Avoid branching when clamping and converting float samples to integer | Chris Robinson | 2012-10-26 | 1 | -2/+2 |
| | |||||
* | Move some math functions to where they're used | Chris Robinson | 2012-10-25 | 1 | -0/+25 |
| | |||||
* | Put the HRTF DirectParams into an anonymous struct | Chris Robinson | 2012-10-15 | 1 | -26/+26 |
| | |||||
* | Store the output buffers in the DirectParams struct | Chris Robinson | 2012-10-14 | 1 | -1/+9 |
| | |||||
* | Store some more HRTF info in the DirectParams struct | Chris Robinson | 2012-10-14 | 1 | -0/+6 |
| | |||||
* | Don't add the dry gain to the mixing matrix | Chris Robinson | 2012-10-13 | 1 | -1/+1 |
| | |||||
* | Silence an implicit int-to-float conversion warning on MSVC | Chris Robinson | 2012-10-13 | 1 | -1/+1 |
| | |||||
* | Fix copying the listener Up vector | Chris Robinson | 2012-10-12 | 1 | -1/+1 |
| | |||||
* | Apply the listener matrix to the listener velocity once | Chris Robinson | 2012-10-12 | 1 | -12/+10 |
| | |||||
* | Avoid needlessly copying the listener matrix | Chris Robinson | 2012-10-12 | 1 | -7/+3 |
| | |||||
* | Apply the listener position to the transformation matrix | Chris Robinson | 2012-10-12 | 1 | -38/+44 |
| | |||||
* | Check the distance against epsilon to determine if it matches | Chris Robinson | 2012-10-12 | 1 | -2/+2 |
| | |||||
* | Properly scale wide-stereo sources | Chris Robinson | 2012-10-10 | 1 | -1/+1 |
| | |||||
* | The max step is no longer dependent on the channel count | Chris Robinson | 2012-10-10 | 1 | -2/+2 |
| | |||||
* | Set Hrtf.Moving after setting the source params instead of after mixing | Chris Robinson | 2012-10-09 | 1 | -0/+1 |
| | |||||
* | Build the listener matrix separately | Chris Robinson | 2012-10-09 | 1 | -3/+36 |
| | |||||
* | Store a pointer to the listener in the context | Chris Robinson | 2012-10-09 | 1 | -10/+10 |
| |