Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update the Null effect so it can act as a guide to new effects | Chris Robinson | 2013-05-25 | 2 | -22/+101 |
| | |||||
* | Use vtables for setting effect properties | Chris Robinson | 2013-05-24 | 11 | -306/+191 |
| | |||||
* | Set cmake policy CMP0005 and avoid unnecessary escape sequences | Chris Robinson | 2013-05-24 | 1 | -2/+3 |
| | |||||
* | Add quotes around an ADD_DEFINITIONS parameter | Chris Robinson | 2013-05-24 | 1 | -1/+1 |
| | |||||
* | Check for __restrict in a way to make MSVC happy, hopefully | Chris Robinson | 2013-05-24 | 1 | -1/+5 |
| | |||||
* | Move remaining effects to the effects subdir | Chris Robinson | 2013-05-23 | 8 | -10/+10 |
| | |||||
* | Move reverb to the effects subdir | Chris Robinson | 2013-05-23 | 2 | -1/+1 |
| | |||||
* | Move the AL_EFFECT_NULL state into a separate file | Chris Robinson | 2013-05-23 | 4 | -96/+107 |
| | |||||
* | Reword a couple cmake option names | Chris Robinson | 2013-05-23 | 1 | -4/+4 |
| | |||||
* | Don't explicitly check for fesetround | Chris Robinson | 2013-05-22 | 2 | -6/+0 |
| | | | | It's C99 standard with fenv.h, which we already check for. | ||||
* | Use fegetenv/fesetenv to backup and restore the FPU state | Chris Robinson | 2013-05-22 | 2 | -4/+8 |
| | |||||
* | Merge the fesetround FPU handler with the assembly one | Chris Robinson | 2013-05-22 | 1 | -22/+23 |
| | | | | | | The assembly is only needed for SSE since we can't access the intrinsics without the -msse switch, which itself would cause SSE code to be generated elsewhere automtically. | ||||
* | Check for SSE2 and set the denormals-are-zero bit for mixing if available | Chris Robinson | 2013-05-22 | 5 | -8/+22 |
| | |||||
* | Set the correct SSE bits for round-to-zero | Chris Robinson | 2013-05-22 | 1 | -1/+1 |
| | |||||
* | Use restrict instead of RESTRICT | Chris Robinson | 2013-05-22 | 20 | -103/+99 |
| | |||||
* | Recognize DSSPEAKER_5POINT1_SURROUND (and 7POINT1) with DSound | Chris Robinson | 2013-05-22 | 1 | -4/+11 |
| | |||||
* | Remove an unnecessary check for vsnprintf | Chris Robinson | 2013-05-22 | 1 | -10/+0 |
| | |||||
* | Avoid using a temp buffer for al_print | Chris Robinson | 2013-05-22 | 1 | -12/+5 |
| | | | | | | | | It's now using two *printf calls, which unfortuantely means there could be a race between the two and cause the message to break up if something else tries to print to the same file. This shouldn't really be a big deal since al_print isn't used that often, and it now allows for lines of practically unlimited length. | ||||
* | Add casts to silence MSVC | Chris Robinson | 2013-05-22 | 2 | -2/+2 |
| | |||||
* | Rename DELETE to DELETE_OBJ | Chris Robinson | 2013-05-21 | 3 | -9/+8 |
| | | | | Because Windows. | ||||
* | Add a DELETE macro to help destroy objects | Chris Robinson | 2013-05-21 | 3 | -10/+10 |
| | |||||
* | Rename the effect state's Destroy method to Destruct | Chris Robinson | 2013-05-21 | 11 | -26/+28 |
| | |||||
* | Use factories to create and destroy effect states | Chris Robinson | 2013-05-21 | 12 | -143/+513 |
| | |||||
* | Remove some unused code | Chris Robinson | 2013-05-21 | 1 | -5/+2 |
| | |||||
* | Use a properly-defined history for the FILTER struct | Chris Robinson | 2013-05-21 | 7 | -33/+28 |
| | |||||
* | Avoid storing the device frequency in the equalizer | Chris Robinson | 2013-05-21 | 1 | -18/+19 |
| | |||||
* | Auto-generate wrappers to upcast objects before calling user methods | Chris Robinson | 2013-05-21 | 10 | -87/+58 |
| | |||||
* | Use macros to help define vtables for effect states | Chris Robinson | 2013-05-21 | 10 | -166/+168 |
| | |||||
* | Avoid storing the device frequency in the distortion state | Chris Robinson | 2013-05-21 | 1 | -7/+5 |
| | |||||
* | The effect state being destroyed can't be NULL | Chris Robinson | 2013-05-21 | 4 | -28/+22 |
| | |||||
* | Rename some inheritance macros | Chris Robinson | 2013-05-21 | 9 | -76/+76 |
| | |||||
* | Pre-scale the chorus and flanger delays to be in samples | Chris Robinson | 2013-05-21 | 2 | -36/+22 |
| | |||||
* | Avoid storing some chorus and flanger properties in the effect state | Chris Robinson | 2013-05-21 | 2 | -52/+32 |
| | |||||
* | Process 64 samples at a time for chorus and flanger effects | Chris Robinson | 2013-05-20 | 2 | -96/+130 |
| | |||||
* | Process 64 samples at a time for some effects | Chris Robinson | 2013-05-20 | 5 | -117/+201 |
| | | | | | This should help with the non-interleaved samples of the output, and allow skipping channels that don't contribute to the output. | ||||
* | Split flanger delay calculation into separate methods | Chris Robinson | 2013-05-20 | 1 | -69/+60 |
| | |||||
* | Split chorus delay calculation into separate methods | Chris Robinson | 2013-05-20 | 1 | -37/+44 |
| | |||||
* | Fix possible overflow when converting float to int | Chris Robinson | 2013-05-20 | 1 | -2/+2 |
| | | | | | Same as with the mixer, we can only use 25 bits of precision from floats. | ||||
* | Use some macros to help with deriving types | Chris Robinson | 2013-05-20 | 9 | -93/+85 |
| | |||||
* | Remove an unused macro | Chris Robinson | 2013-05-20 | 1 | -2/+0 |
| | |||||
* | Clear all the old channel gains to 0 before setting them | Chris Robinson | 2013-05-20 | 2 | -1/+5 |
| | |||||
* | Fix a potential leak when mmdevapi fails to open | Chris Robinson | 2013-05-19 | 1 | -0/+3 |
| | |||||
* | Avoid recalculating the same coefficient | Chris Robinson | 2013-05-19 | 1 | -11/+9 |
| | |||||
* | Implement distortion and equalizer effects | Chris Robinson | 2013-05-18 | 10 | -15/+919 |
| | | | | Code provided by Mike Gorchak | ||||
* | Modulator fixes | Chris Robinson | 2013-05-18 | 1 | -6/+5 |
| | | | | | | | | Modulator functions return 0..1 instead of -1..+1 Apply high-pass filter before modulation Increase fractional precision to 24 bits from 16 Thanks to Mike Gorchak | ||||
* | 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. | ||||
* | Simplify al_try code | Chris Robinson | 2013-03-24 | 7 | -65/+41 |
| | |||||
* | QSA is always build-time linked | Chris Robinson | 2013-03-24 | 1 | -6/+2 |
| | |||||
* | Reorder some switch cases | Chris Robinson | 2013-03-24 | 1 | -34/+32 |
| | |||||
* | Add a missing cast to silence MSVC | Chris Robinson | 2013-03-22 | 1 | -1/+1 |
| |