aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use the high-shelf filter in place of low-passChris Robinson2013-05-285-19/+6
| | | | | 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 calculationsChris Robinson2013-05-272-11/+17
|
* Use ALfilterState for the modulator high pass filterChris Robinson2013-05-271-25/+12
|
* Use ALfilterState for the master echo and reverb filtersChris Robinson2013-05-274-40/+24
|
* Remove an unused methodChris Robinson2013-05-271-12/+0
|
* Use ALfilterState for the source direct and send filtersChris Robinson2013-05-275-31/+37
|
* Fix filter coefficient pre-calcChris Robinson2013-05-271-4/+4
| | | | | a[0] was getting set to 1 before a[1] and a[2] were normalized. a[0] needs to be done last.
* Move ALEQFilter to alFilter.c/h and rename it to ALfilterStateChris Robinson2013-05-273-107/+131
|
* Store pointers to the getFactory funcs in the mapChris Robinson2013-05-271-12/+15
|
* Cleanup the ALeffectStateFactory_create methodsChris Robinson2013-05-2711-16/+23
| | | | | Get rid of the ALeffectStateFactory_create macro, and use the VCALL_NOARGS helper (requires adding the 'this' factory parameter).
* No-op if DELETE_OBJ is given a NULL pointerChris Robinson2013-05-271-4/+7
|
* Use generic VCALL[_NOARGS] macros instead of type-specific wrappersChris Robinson2013-05-278-38/+31
|
* Rename a variableChris Robinson2013-05-261-8/+8
|
* Pre-apply the a[0] EQ filter coefficientChris Robinson2013-05-261-5/+11
| | | | Saves 20 fp divisions per sample
* Use SET_ERROR_AND_RETURN in a few more placesChris Robinson2013-05-261-24/+20
|
* Use the helper macros in more placesChris Robinson2013-05-267-343/+237
|
* Add helper macros to set an error and return, and use it in a few placesChris Robinson2013-05-264-85/+57
|
* Define the ALeffect typedef with the structChris Robinson2013-05-251-13/+12
|
* Use an ALeffectProps union to store the effect propertiesChris Robinson2013-05-2513-361/+400
|
* Use a Delete method for deletable objectsChris Robinson2013-05-2511-96/+28
|
* Update the Null effect so it can act as a guide to new effectsChris Robinson2013-05-252-22/+101
|
* Use vtables for setting effect propertiesChris Robinson2013-05-2411-306/+191
|
* Set cmake policy CMP0005 and avoid unnecessary escape sequencesChris Robinson2013-05-241-2/+3
|
* Add quotes around an ADD_DEFINITIONS parameterChris Robinson2013-05-241-1/+1
|
* Check for __restrict in a way to make MSVC happy, hopefullyChris Robinson2013-05-241-1/+5
|
* Move remaining effects to the effects subdirChris Robinson2013-05-238-10/+10
|
* Move reverb to the effects subdirChris Robinson2013-05-232-1/+1
|
* Move the AL_EFFECT_NULL state into a separate fileChris Robinson2013-05-234-96/+107
|
* Reword a couple cmake option namesChris Robinson2013-05-231-4/+4
|
* Don't explicitly check for fesetroundChris Robinson2013-05-222-6/+0
| | | | It's C99 standard with fenv.h, which we already check for.
* Use fegetenv/fesetenv to backup and restore the FPU stateChris Robinson2013-05-222-4/+8
|
* Merge the fesetround FPU handler with the assembly oneChris Robinson2013-05-221-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 availableChris Robinson2013-05-225-8/+22
|
* Set the correct SSE bits for round-to-zeroChris Robinson2013-05-221-1/+1
|
* Use restrict instead of RESTRICTChris Robinson2013-05-2220-103/+99
|
* Recognize DSSPEAKER_5POINT1_SURROUND (and 7POINT1) with DSoundChris Robinson2013-05-221-4/+11
|
* Remove an unnecessary check for vsnprintfChris Robinson2013-05-221-10/+0
|
* Avoid using a temp buffer for al_printChris Robinson2013-05-221-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 MSVCChris Robinson2013-05-222-2/+2
|
* Rename DELETE to DELETE_OBJChris Robinson2013-05-213-9/+8
| | | | Because Windows.
* Add a DELETE macro to help destroy objectsChris Robinson2013-05-213-10/+10
|
* Rename the effect state's Destroy method to DestructChris Robinson2013-05-2111-26/+28
|
* Use factories to create and destroy effect statesChris Robinson2013-05-2112-143/+513
|
* Remove some unused codeChris Robinson2013-05-211-5/+2
|
* Use a properly-defined history for the FILTER structChris Robinson2013-05-217-33/+28
|
* Avoid storing the device frequency in the equalizerChris Robinson2013-05-211-18/+19
|
* Auto-generate wrappers to upcast objects before calling user methodsChris Robinson2013-05-2110-87/+58
|
* Use macros to help define vtables for effect statesChris Robinson2013-05-2110-166/+168
|
* Avoid storing the device frequency in the distortion stateChris Robinson2013-05-211-7/+5
|
* The effect state being destroyed can't be NULLChris Robinson2013-05-214-28/+22
|