Chris Robinson
|
eb277cc578
|
Remove some unneeded templates and parameters
|
2011-10-04 09:55:36 -07:00 |
|
Chris Robinson
|
20fd648729
|
Convert samples to float when copying to the stack
|
2011-10-04 09:47:08 -07:00 |
|
Chris Robinson
|
bfa782f329
|
Define the values for F_PI and F_PI_2 directly instead of using M_PI
|
2011-09-30 22:53:47 -07:00 |
|
Chris Robinson
|
d3a6de3f86
|
Set the FPU into single-precision mode for mixer updates
|
2011-09-29 05:10:15 -07:00 |
|
Chris Robinson
|
f4925a0e6a
|
Use inline functions to set/restore the FPU mode for mixer updates
|
2011-09-29 04:03:18 -07:00 |
|
Chris Robinson
|
cf56b0733b
|
Look for and use atan2f, log10f, and floorf
|
2011-09-24 12:17:39 -07:00 |
|
Chris Robinson
|
b4f9f89480
|
Use float types for the resamplers instead of double
|
2011-09-23 23:03:59 -07:00 |
|
Chris Robinson
|
da62f50528
|
Check for asinf and use it
|
2011-09-23 22:44:34 -07:00 |
|
Chris Robinson
|
9266a37276
|
Move ConeScale and ZScale to ALu.c and alu.h, and make them floats
|
2011-09-23 22:33:37 -07:00 |
|
Chris Robinson
|
470b506952
|
Use macros for float-typed PI values, to avoid manual casts everywhere
|
2011-09-22 11:17:01 -07:00 |
|
Chris Robinson
|
a4b1239f45
|
Use cosf and sinf when available
Also clear away a few more MSVC precision warnings
|
2011-09-22 01:00:44 -07:00 |
|
Chris Robinson
|
38a4d9a6c5
|
Get rid of the remaining min/max usage
|
2011-08-16 18:53:04 -07:00 |
|
Chris Robinson
|
9f5bf5f930
|
Rename minF/maxF/clampF to minf/maxf/clampf for consistency
|
2011-08-16 18:40:21 -07:00 |
|
Chris Robinson
|
04dad28228
|
Use mini/maxi/clampi and minu/maxu/clampu to replace min/max calls
|
2011-08-16 18:33:10 -07:00 |
|
Chris Robinson
|
8a51a7ea2d
|
Use inline minF/maxF/clampF functions instead of the __min/__max macros
|
2011-08-16 04:21:58 -07:00 |
|
Chris Robinson
|
2f3bd5b5d9
|
Move an include to where it makes more sense to be
|
2011-07-23 05:53:53 -07:00 |
|
Chris Robinson
|
fad80a4f92
|
Don't cast for the float versions of math functions
|
2011-07-23 05:52:10 -07:00 |
|
Chris Robinson
|
202f57552a
|
Use a proper enum for the distance model
|
2011-07-03 19:39:19 -07:00 |
|
Chris Robinson
|
ac7ca07221
|
Get rid of a couple typedefs
|
2011-07-02 21:33:53 -07:00 |
|
Chris Robinson
|
1fc44d5788
|
Select the mixer during a source update
|
2011-06-25 00:13:56 -07:00 |
|
Chris Robinson
|
2972de1047
|
Use function pointers to call the source mixer
|
2011-05-06 00:20:40 -07:00 |
|
Chris Robinson
|
4010a6b745
|
Remove some now-unused functions
|
2010-12-08 02:56:24 -08:00 |
|
Chris Robinson
|
9e8fb89a52
|
Rename OUTPUTCHANNELS to something more descriptive
|
2010-12-01 18:33:17 -08:00 |
|
Chris Robinson
|
986628b8b2
|
Avoid temp storage
|
2010-11-28 22:50:27 -08:00 |
|
Chris Robinson
|
da4f5c6f96
|
Uninline some functions
Also add -Winline to the compiler command line to watch for future inline problems
|
2010-11-28 19:52:17 -08:00 |
|
Chris Robinson
|
2fd8d6916b
|
Support rear formats directly in the mixer
|
2010-11-27 22:55:20 -08:00 |
|
Chris Robinson
|
754a122aa0
|
Support muLaw with LoadData
|
2010-11-27 22:00:24 -08:00 |
|
Chris Robinson
|
facb922f3e
|
Properly clamp high pitch values
|
2010-11-26 17:47:43 -08:00 |
|
Chris Robinson
|
88ebe7e4c1
|
Decrease the buffer size more
|
2010-11-26 02:14:11 -08:00 |
|
Chris Robinson
|
1cb29ece08
|
Make a FRACTIONONE macro, and use it
|
2010-11-26 01:21:46 -08:00 |
|
Chris Robinson
|
de8b7fbc5f
|
Share the interpolation functions and use them in the reverb effect
|
2010-11-26 01:07:54 -08:00 |
|
Chris Robinson
|
92d8d2f8a4
|
Pass the device to the mix function and localize the dry mix and click buffers
|
2010-09-26 12:23:22 -07:00 |
|
Chris Robinson
|
9fbd6c6c3f
|
Make the SourceMix function a method of the ALsource struct
|
2010-09-26 01:15:27 -07:00 |
|
Chris Robinson
|
8003278a55
|
Combine non-attenuated source calculation functions
|
2010-08-07 06:57:31 -07:00 |
|
Chris Robinson
|
5f22d30fc9
|
Calculate the source stepping value with the param calculations
|
2010-08-07 05:43:16 -07:00 |
|
Chris Robinson
|
98bc60cfb7
|
Combine stereo and stereo-duplicate mixers
Use a separate update method for stereo sources to the set appropriate channel
gains
|
2010-08-05 01:07:20 -07:00 |
|
Chris Robinson
|
e74976e645
|
Use a callback to specify the source update method
|
2010-08-03 23:10:00 -07:00 |
|
Chris Robinson
|
37190b2caf
|
Add a function to get the frame size from a format
|
2010-05-24 21:51:30 -07:00 |
|
Chris Robinson
|
ad2957ed98
|
Reduce the mixing buffer size
|
2010-05-24 20:10:35 -07:00 |
|
Chris Robinson
|
a04dac670e
|
Make stereo duplication a property of the device
Further, don't use it with mono/stereo output
|
2010-04-20 03:57:40 -07:00 |
|
Chris Robinson
|
aace50ebf4
|
Store the panning LUT in the device
|
2010-04-08 15:58:11 -07:00 |
|
Chris Robinson
|
6c5f1b78d7
|
Reduce the mixing buffers to the next power of two
|
2010-03-14 03:30:42 -07:00 |
|
Chris Robinson
|
c23e4ed412
|
Add support for AL_EXT_DOUBLE
|
2010-03-13 21:32:45 -08:00 |
|
Chris Robinson
|
1f10195c47
|
Use powf when available
|
2010-03-07 22:12:33 -08:00 |
|
Chris Robinson
|
d4427c54ea
|
Change internal order to match WFX
|
2009-12-07 00:51:27 -08:00 |
|
Chris Robinson
|
b5270e0bb3
|
Use a channel-map to specify the output device channel order
|
2009-12-02 04:03:51 -08:00 |
|
Chris Robinson
|
ff8e09495d
|
Move aluCart2LUTpos to alu.h
|
2009-11-19 09:24:35 -08:00 |
|
Chris Robinson
|
9f037e8980
|
Pass the device to aluMixData
|
2009-09-15 19:30:27 -07:00 |
|
Chris Robinson
|
7976de05a5
|
Add base support for ALC_EXT_disconnect
Individual backends need to be updated to handle disconnection events
|
2009-08-26 19:15:17 -07:00 |
|
Chris Robinson
|
c6f3a4e062
|
Move a couple inline functions into the header
|
2009-06-07 20:16:41 -07:00 |
|